What’s the context behind the question?
In nearly all situations government’s would not want to do this as it would disincentivize productivity and economic activity across the population - so while they may “gain” the ability to silence “dissent” during wartime - we must also consider what they would “lose” in doing so.