Yeah, like I think the option should exist once you've passed certain qualifiers. But being mentally ill has so many consequences from capitalism. I myself struggle with metal health at times, and those times are always at their absolute worst financial problems come up. And our society is extremely difficult to get started in. Most people my age are only one paycheck away from desperation. When you're mentally ill poverty is a symptom, you're that much less capable of working. And society refuses to help you in the long term. You'll always have to face your own unreliability as an existential threat, which worsens how unreliable you are.
It is morally wrong to euthanize people because capitalism has decided they have no worth, and because they can never have a life worth living without society changing. But thats almost never what people want to talk about, they want to talk about how it's just wrong to let the unwell die. Never about how they can prevent us from becoming so unwell we cannot function.