i think it was maybe 6 score and 7 years ago that like, pretty much anyone could just like...have cocaine, or heroin, or methamphetamine, if they wanted it. And then after that social experiment ran for a while the government was like "huh...these things might be a little too powerful to just let people have them free of any regulation."
i doubt very much that they needed to go through the exercise of examining the mental state of the people who experienced negative outcomes as a result of their use of cocaine, heroin, or methamphetamine...sometimes its just as simple as some things are too dangerous to just let people have with little more than titular regulations/restrictions to serve as the guard rails.
a similar type of thing happened with speed limits on roadways when vehicles would get into too many accidents and some brainiac thought "huh, we might just need to place limits on how fast someone can lawfully drive on this roadway because if people are left to their own devices they will keep getting into accidents". didn't really have a whole lot to do with the mental fitness of the person driving the car, in fact i'm quite sure the "mental health of the driver" factor did not come into play at all, even a little bit, when they decided to impose speed limits.
there are so many more instances of stuff like this happening i could go on and on but i think you get the idea