Didn’t the Germans do something like that in the 1930s?
Yup. So did the Bolsheviks. It's an important chapter in Dictatorship 101. Lincoln did it during the Civil War, too.