Yes. Eye strain is one of the most common triggers for tension-type headaches, especially the kind centered around your forehead, temples, or behind the eyes after a long day on screens. When your focusing muscles work overtime, you squint at glare, and you hunch toward the screen, that fatigue and tension often radiate into a headache.
The fix is the same as for the strain itself: match your screen brightness to the room, use the 20-20-20 rule, fix your posture and glare, blink, and stay hydrated. If headaches are frequent or severe, or come with vision changes, see a doctor, an uncorrected prescription is also a common, fixable cause.