MMT people had discussed for a while some legal (legal in term complying with the current unnecessary, self-constraining US law to issue "debt" equal to the deficit) ways to get rid of the so called government "debt" for good.
The MMT idea is becoming more popular today and even found ways in mainstream media. It is perfectly legal and can be executed by US government tomorrow......if it wishes so.
In other words every time when the Treasury needs to deficit spend, instead of issuing brand new government bonds, it simply can produce a coin(s) with whatever imprinted value it needs. The treasury deposits the coin to its account at the Fed and then start writing checks to pay all its bills. See below.

