Pixel42
Schrödinger's cat
Has there been any focused research on this, that anyone is aware of? On actually correlating epilepsy with mystical visions, especially the specific kinds of visions that triggered away our specific religions?
There's been quite a lot of research on this, yes. Here's a recent paper.
https://www.sciencedaily.com/releases/2017/03/170308131158.htm
Researchers find neurological link between religious experiences and epilepsy
A relationship between epilepsy and heightened religious experiences has been recognized since at least the 19th century. In a recent study, researchers found a neurological relationship exists between religiosity -- a disposition for spiritual experience and religious activity -- and epilepsy. This finding sheds light on the connection between religion and neuropsychological processes within the human brain.