Agreed, regarding the problems with the bumper-sticker-friendly idea. I see a two-prong solution:
(1) Remove the special rule that keeps student loan debt from being discharged in bankruptcy. But, you still have to prevent the abuses that used to happen (e.g., doctors declaring bankruptcy the day they leave med school, so they start their incredibly lucrative careers from zero, rather than from a hole). So, make bankruptcy discharge contingent on accepting a surtax over the next 20 years, with the idea that the recouped tax money would equal, in time-value terms, the average student debt amount for those earning at the 50th percentile. That way, anybody who expects to earn at better than the 50th percentile (doctors, lawyers, etc.) isn't going to pull that trigger, unless they have truly crushing amounts of debt, because, long term, they'll pay more in higher taxes than they'd have paid in student loan debt. But, those who were genuinely in a situation where the debt was overwhelming relative to expected future earnings, there'd be a way out of it, with some partial long-term repayment by way of that surtax.
(2) Limit college costs by making federal grants and loan subsidies only usable at eligible colleges, and then to keep a college eligible, the average all-in cost growth for that college can't exceed x points over inflation (so that, say, eligible schools can't be getting more expensive at faster than 4% per year, or they lose access to all that federal money). That would put pressure on schools to find savings.