I personally know several Artists in my hometown that are not shy about their drug use specially hallucinogenics, and a few of them told me that they use hallucinogenics to open their minds and to get another perspective of reality.
One of them even told me that DMT is like food for his brain that every time he takes a breakthrough dose his Art gets better and I agree with him 100%.
So I wouldn't be surprise if Dali knew and use this tools as well.
"The Medicine Will Always Be There For Those Who Seek It"