When God wrote the rules there weren’t things like feeding tubes, resuscitators, heart machines, bypass machines, etc. I think it cruel people are kept alive by machines against their will......and yes, people do deserve to die with dignity. If you wish to lie in a bed diapered with tubes coming out of every orifice suffering while waiting to die feel free.
Does the indignity begin with diapers? When they break out a bedpan or have to give you a sponge bath, should they first ask “are you sure you want to go on with this burdern on my profession?”