Yup. Any amphetamine or methylphenidate based stimulant makes my eyestrain / headaches / photosensitivity much worse. I absolutely can not take them for this reason. They increase muscle tension in the extraocular muscles, decrease tear production, and probably most importantly as you note, they increase pupil size. The mydriatic effect can be quite pronounced, especially in indoor lighting.
Amphetamine based stimulants seems to be slightly worse, maybe due to their impairing effect on mitochondria in the brain.