Hallucinatory experiences, either spontaneous or created through substances, dance, music etc. appear to have been part of 'religious' ritual since pre-religious times. Mike William's excellent book, 'Prehistoric Belief - Shamans, Trance and the Afterlife' is enlightening on the subject.