Not on their own. Photosensitive epilepsy is triggered by certain flashing patterns and high-contrast flicker, and a small number of people are susceptible to that — but the game itself is not the cause, and most titles now ship with warnings and reduced-flash options.
If you or someone you know has photosensitive epilepsy, check those settings before playing.