Is it legal / possible - yes they don't have to accept a student if they don't want to regardless of the reason.
If your visa allows for work or study then there is nothing preventing you. Open VEVO and have a look it will show you conditions there
If your visa allows for work or study then there is nothing preventing you. Open VEVO and have a look it will show you conditions there