Define drugs. I know Ritalin is an invaluable tool when it comes time for me to sit down and hack, but can also be counter-productive in limiting my creativity.
I think it would be self-evidently false to suggest that no mind-altering substance could lead to a state of consciousness more conducive than the baseline for a given activity, but I would stop short of recommending any particular drug for programming. If it works for you, do it. If not, don't.