In metal shop in the 70’s, Mr Wood (yeah, that was his name) specifically prohibited manufacturing of any firearms with school machines or resources.
But he sure liked to talk about it a lot.
For those with the skill (and I’m not one). There really isn’t much of an impediment.
And that was well before CNC.