well regarding judaeo-christian religion (which you seemed to be intrigued by), it seems a distinct possibility tuthmosis drank acacia (referred to as shittah [shittem plural] by the hebrew, symbolic of an immortal soul, and regarded as "kadoish"[holy]).
it is
already theorized that moses drank of the acacia on mt sinai and negev. there is also a possibility of using peganum harmala, from what i understand (the plant grows in the area, but there is no references to it, nor mythology about it, from what i understand - though this may have been knowledge well known to the egyptians).
the recipe for anointing oil given to moses from YHWH included the ingredient "kaneh-bosm" which is the etymological origin of the word cannabis (though the septuagint translates it to calamus, which is also mildly psychoactive - so there is some debate).
also moses was well raised in the mysticism of the egyptians (acts 7:22), and there is a fair amount of evidence that egyptians partook of the acacia; primarily in their mythology regarding Iusaaset and the tree of life and death (which spilled "waters of wisdom" which, imo, sounds like a brew to me).
so the origin of judaeo-christianity may indeed have had origins related to tryptamines (There are also theories of manna being cubensis, and early christian cults using amanita)
i had heard (And i cannot remember where) that John of Patmos had imbibed of sarpa salpa (used by early roman christians, and supposedly the origin of the ichthys symbol), but i can't find any information on it when i research it, not even the original source i got it from..
so i don't know how reliable that info is, but reading the book it seems believable, imo.
revelations is trippy as heck. you will never see a dragon swipe stars out of the sky sober, as far as i am concerned, lol.
in other religions, it can be found to be more blatant (it some cases), especially hinduism (soma pavamana, datura, and hash, theories about cubensis and other psychs) and the various pockets of shamanism (amanita, cubensis, yopo, ayahuasca, peyote, et al) flung throughout the world.
also, afaik psilocybin and DMT are the only two scientifically documented molecules proven to catalyze spiritual experiences, so the hypothesis isn't entirely unfounded or unbelievable, imo.
fun fact: alchemy (The origin of science) came from al-khemet(egypt), meaning that it too may have originated as a derivative of egyptian knowledges of the chemistry regarding the acacia.
so it could be science and religion sprung forth from the roots of the acacia.
not that we could ever know for sure either way, but it is still fun to think about
My wind instrument is the bong
CHANGA IN THE BONGA!
樹