I think it's a lot more complex than just a "yes" or "no" issue. I've seen statistics suggesting that over 50% of people in the ICU suffer from ICU psychosis, which can include suicidal depression, and that a form of it can persist out of the ICU for people who need continuous medical care. People who are suicidally depressed need help for that state of mind before we let them choose to end their lives. We have people petitioning for their respirators to be turned off because "[they] have not quality of life" when you have someone with the exact same medical needs and limitations who is gainfully employed as a college professors, with romantic prospects and an active social life.
OTOH, there are other medical issues where a person's future would just be unending pain. Bone cancer comes to mind. Because of such conditions, I will support a person's right to end their life in theory, but we need to be careful how it is implemented, lest we allow people to end their lives because it's just cheaper than improving their lives.