It is my understanding that doing this is next to impossible. The way bankruptcy laws are structured student loans are almost never discharged as part of bankruptcy proceedings, and require a special hearing to justify their discharge. These hearings are only rarely successful, mainly due to physical or mental incapacitation, not financial stress.