Not without consequences. Contrary to the headlines, we can’t simply print as much money into existence as we want.
For example, the actual cost of the war was closer to $2T. The $6.4T number quoted in this headline is the theoretical sum total including interest payments on the debt well into the future.
Simply passing bills to spend money that we don’t have may get things done, but our children have to pay for it eventually.
Even cheap debt must still be serviced. A significant portion of your tax bill every year goes to servicing interest on national debt.
So no, it’s not simply a matter of political will to spend all the money we want. There are limits.