No, I wouldn't train someone I know to mentally unsound how to use a firearm.  But I'm also not sure what the law to stop  such a thing would look like, or how it would be enforced.  "Stop" would likely just mean prosecuting after the fact, as such a law would be incapable of actually stopping it.