Sounds dystopian. Would you want to be forced to wear a heavy headset that nagged you to comment your code and write unit tests?
What else would you be willing to force on everyone to improve (in your opinion) your circumstances?
We clearly do this a bit (taxes, vaccines, etc), but finding the threshold is very tricky, and can lead to pretty authoritarian environments.
It's authoritarian enough that I have no choice but to support our military decisions through the taxes I pay.
I don't know if there's a solution though, there are other sharks vying to do far worse.