Unclear if it would be positive or negative though, as caffeine is a vasodilatador and mood elevator (and commonly used to treat headaches). At the same time it can increase stress, which would cause a headache.
Caffeine is a cerebral vasoconstrictor. Supposedly its the dilation that occurs during withdrawal which causes headaches. Caffeine has a half life of 3 to 5 hours, so without a constant stream of caffeine headaches could come in before too long.