That's how all governments (with sovereign currencies) spend money - the money is created as the government spends it.
In order that the amount of money sloshing around doesn't grow fast enough to cause undesired inflation governments also destroy money, by collecting taxes and by selling bonds. Selling bonds is however in part just a favour to the markets who need somewhere to save money - if the government doesn't like the interest rate that the market is offering for bonds then the government can simply choose not to sell any for the time being. This is why shenanigans in the bond market don't actually affect the government's ability to spend.