Sure, if none of the teachers ever break the rules or are careless with that system in any way, it will prevent everything except the part where we expect teachers to be better than cops at target identification and using a firearm under stress, and also expect them to be willing to shoot a student they know personally.
We're also expecting them to accept all the trauma that comes with that, while getting paid shit, and having chosen a career in education.