Every student would with good cause declare bankruptcy immediately upon graduation, because they have debt and no assets and no job. I get where you're coming from, but this is not a workable solution.
I know people who would GLADLY throw away two years of their life in bankruptcy proceedings if it means they could be free of their crushing student debt.
Some enterprising law students figuring out they could get a loan to learn how to get out of the loan - and end up with a very valuable degree out of it that could not be repossessed - and by the time they needed good credit, it would be off their records.
It took awhile for word to get out, and then they banned getting out of student loans.
So blame the lawyer (students) I guess?