To prevent innocent people from being killed as a result, yes. That does seem like the more ethical choice.
This is not about my opinion of whether an individual should be allowed to end their own life - which I'm agnostic of. This is about the normalisation and institutionalisation of such practice as inherently risky and devaluing of human life.
When you allow the state to end a life under any circumstances, you open the door to allowing the state to end a life under any circumstances. (aka - the slippery slope argument)