The entire reason why the mental illness discussion is complicated is because with mental illness it’s not clear it is a choice.
And this isn’t even something made up for the particular case of assisted suicide. The idea that someone with mental illness cannot make legitimate choice has been around in the legal system for a while, with mental illness leading to reduced sentences, and even being the basis of acquittal in many situations.