~~~
JUST ASK HITLER.
Since that's EXACTLY what HE did in the 1930's when he ordered PRIVATE German companies to make WAR MACHINERY instead of the normal FREE MARKET PRODUCTS they HAD been manufactureing.
He did this because he was ramping up the German economy to prepare for aggression and war (due to the excessively harsh rules of the Treaty of Versaiiles).
SO...