Yes, and that risk would greatly reduce the loans made and prevent colleges from increasing prices so fast. Allowing colleges to garnish a percent of your wages would make a lot more sense actually.
Is there any legal mechanism to do something like this?
Maybe if the student signs a contract allowing the University to do so.