Well i don't think its good idea to do drugs for inspiration. You might get some great ideas but its not that simple. Though when LSD was invented they used it to solve lots of university level math /technical problems, Watch some documents about it if you have time sometimes. Also as mentioned, Some Nobel price winners and Succesfull people have used LSD or other psycedelics and that have helped them to get their ideas. I think the nobel price winner was abot physics and about how all the moleculs or w/e stick together making solid items.
Also many natural drugs like weed,muhsrooms and some more exotic plants are not dangerous if used even somewhat right