Psilocybin for treatment-resistant depression: fMRI-measured brain mechanisms [pdf] 9 years ago
Yes, it would still work because the current hypothesis is that it's the resulting increase in neurogenesis which is responsible for the amelioration of depression.
Neurogenesis in general seems to be inversely proportional to experiences of depression.