English occultist Aleister Crowley developed a technique of sex magic known as eroto-comatose lucidity, where sexual stimulation induces a state between sleep and wakefulness, allowing practitioners to commune with their god.