It would definitely need to be offset by subsidies, but maybe that could come in the form of something that people could claim every 5-20 years like a tax return.
It seems like we have a lot of levers to pull to make life easier on people doing things like that; tuition reimbursement, housing/food/course material subsidies, benefits like health care, child care, help with transit, etc.
But I guess you would have to look out for a resurgence of scammy public for-profit institutions.