There're restrictions on purposed built student accomodation particularly in the planning permit by the council where it restricts the occupant to be students only, even if you're owner occupying.
In this case, if it's your son, no problem!
Capital gains are low & slow, yield is better...