If students were able to escape the debt by bankruptcy, the Treasury might not be allowed to buy the loans. Don't they have to invest in safe stuff?
Unsecured personal loans (that are subject to bankruptcy) are a valid asset class, coveted by LendingClub and some banks, but they require solid credit history and carry a higher interest rate, more aggressive repayment schedule, or both.