They can, but it's really expensive so most devs avoid it. Currently the performance hit is not worth it.
Games could render realtime reflections using various tricks even 20 years ago.
I remember that in Hitman Blood money enemies could spot you in a mirror and mirrors were functional in that game. It's a game from 2006 and mirrors were placed only in small rooms.