I think sex will not cause eye twitch and headache. If you stay up too late in the night, you may have eye twitch the next day. Fatigue, stress, and caffeine can lead to the muscle in our eyelids twitch. Usually we will suffer eye twitch for a few days if we catch up with sleep. Then, it will disappear on its own. Sometimes you won't notice when the twitch stops.
Maybe sex can cause eye twitch and headache. If you stay up too late in the night, you will not have a good sleep. This can be one of the causes for eye twitch. If you don't like the person but he or she bothers you a lot, you may have a headache. But usually sex will not cause eye twitch or headache in our daily life.