Don't forget that you have to be sure the government has the perfect knowledge to price things correctly even it's otherwise a good government. This is actually the main reason that centralized planning is frowned upon by capitalists. Without competition to drive price discovery, the market ends up being super inefficient and people end up under-served or output resources don't collect enough input resources to sustain themselves.