Restricting a student's ability to transfer will not fly in court.
The only way to get the wild west of college athletics under control is to form a pro league with teams that are only loosely associated with the local university (in name only). Attending the university would be up to the athlete.