Some people thought that was a viable act in the LA Riots.
It wasn’t. Not when confronted with a riotous mob.
he key thing is to not go looking for trouble and use it as a last resort.
Usually you have to fire off a round and that sends them all running. That toy gun shit won’t cut it. Might work with a big fierce shotgun if you have no shells.