That's what China tried 20-some years ago.
I'm not going to justify what the Chinese army did in Tiananmen Square, but what they did, they did as a last resort. If they had been a little more proactive and arrested the first few hundred people before it blew up, or impeded access into the square, or did anything to prevent that critical mass of people from assembling all in one place, it would be a different story.