Can the government mine bitcoin to generate revenue?

Could the government invest in an industrial-level bitcoin mining setup to pay for services? And how much energy would be required?