Treating Garak's claustrophobia with medication?

This question was brought on specifically by the treatment of Garak’s claustrophobia in DS9. I find his panic attacks and general anxiety extremely well done both in regards to script and acting (of course, Andrew Robinson can do no wrong). Ezri experiments with the holodeck as a form of therapy, but shouldn’t there be a more immediate and easy solution? That being, a heavy dose of anti-anxiety medication until the Cardassian codebreaking is done.

Of course, therapy in combination with medication would be the best solution, but they never even mention medication - specifically, Julian says that as a medical doctor, there is nothing he can do for Garak. But in ”Hard Times”, we see him prescribing anti-depressants for O’Brien, so apparently they still exist. I would assume they would even more effective in the future than they are now.

As someone who would be a complete wreck without my medication, I was wondering about the view of SSRIs and the like in the Star Trek universe, and specifically, why they didn’t pump Garak full of them after his VERY debilitating illness was clear. He clearly showed that he was up for trying pretty much anything to get rid of his phobia, even speaking about his past to a virtual stranger.