Yes but the governor doesn't have to force everybody in the country to buy Bitcoin because ever though they do that, it'll not add to the countries economically growth instead only enrich those individuals that bought and humans been very greedy might run away with all the money they made from the investment.
What the government can do is to invest the countries money into buying of Bitcoin or mining of Bitcoin. Countries like El Salvador are using this strategy of DCA their investment into bitcoin and in couple years time they would had made so much profits that they can invest those profits into other things that'll help revive the economy of their country.
I think this is the best way a country can benefit from Bitcoin helping their economy more effectively through investment in Bitcoin since adoption isn't at its highest peak to rely on taxing companies that carryout operation from your country.