No, I do not think so. The history of witch trials is interesting: many scholars no believe that the Salem Witch Trials were the result of that town's grain being tainted with ergot. The psychedelic drug, LSD, is derived from ergot, and ingesting ergot produces the same sort of reaction. These scholars think that the people ate the tainted bread, and literally tripped out - imagine eating unwittingly eating LSD; you can bet the experience would be terrifying.
We know as a matter of fact that ergot tainted bread has caused mass hysterias throughout history.
Now, ergot does not explain away all witch burnings. Those unrelated to ergot do not seem to be the result of a literal reading of scripture, but rather societal paranoia and contempt for independent and marginalized women. An independent woman in the middle ages posed a real threat to the existing social order.