As can mantis shrimp, which can see three wavelengths of ultraviolet light. Kites use UV light to trace mouse urine, and parrots and certain fish have patterns only visible in the uv. So, as long as it's useful, the abiliity could evolve in any system where any uv or infra lightwas produced, basically all of them.
EDIT: That's just Earth evolution, with Earth eyes, other courses of evolution might easily allow vision across higher and lower wavelengths. Or some other perception entirely.