Its allowed, but what you are doing is forcing some other taxpayer to pay for it.
If we were truly forcing another taxpayer to pay for it, then Obamacare and a lot of other federal spending programs would fail a lot quicker. What is really happening is that the money is being borrowed, which makes these schemes seem like all gain with no pain for the time being. Eventually, they will all fail at once catastrophically. The only challenge for the Democrats is to figure out how to blame it all on the Tea Party, which will be easy with the help of the media and the RINO establishment, as we are seeing this week.