Could you use a laser at a frequency that the cornea is opaque to?
Edit: I recently had a small corneal erosion from my eye drying out over night (eyelid was pulled open by sleeping in a weird posture) and I had 30% vision for 2 days on that eye. The cornea contributes about 40% (iirc could be more) to the total refractive power in the eye. If you have a UV-spot that melts moskitos dancing around on that for half a second...
I have to believe there is a threshold value of safety, particularly with IR. You can tell me I’m wrong, but please provide a bit of physics to justify it.