Dying is not painful, it is the body’s purification process which occurs prior to dying which may include pain as the body’s elements dissolve.
Individuals who are suffering pain due to illness or cancer know full well what pain is and how relief from it with pain-killing pharmaceuticals is welcome. Those who work in palliative care are also keenly aware of the necessity of reducing pain and increasing comfort in the dissolution process of dying for the patient and their families.
The trade-off is lucidity and awareness of the process which the dying person misses by being medicated. This means that one dies as one has lives- choosing anesthesia and missing out on life and ditto- being medicated so much that one misses out on the process of transitioning to the astral plane or middle heaven. If we believe that we carry our consciousness into the other planes of existence after death, then we must agree that the state of our consciousness upon dying will be the same as once we’ve died.
I can’t suggest that we would automatically attain an immediate state of lucidity upon dying when we have been drugged and de-sensitized during the dying process.
The purgatory which Christian faith teaches is required between this life and the next varies in length and intensity depending on one’s life karma and purification during this lifetime. The pain which one experiences upon dying can be embraced with acceptance or avoided with medications.That is our choice.- unless we give that choice over to our caregivers in which case we give up any control over our death and dying to others, specifically to our doctors and to pharmaceuticals.