A macular hole itself will not cause pain as the retina does not have pain receptors like the skin. However worry, anxiety, and eye strain from the blurred vision and the eyes trying to work together is a frequent cause of eye strain and headaches especially if associated with visual tasks like reading and using computer.
I'm sure they do but the macula hole doesn't cause them unless its worry over the condition.
JCH MD