Yes, the angle of refraction can be 90°. It happens when the angle of incidence reaches its critical value - the highest magnitude for which the light isn't reflected.
Read more