Is it okay to take medications for anxiety etc. Does it knock one off the spiritual path?

First, nothing can knock you off the path because life is the path and you are not going anywhere. Nothing is off the table as far as options in life. Some suffer so much that they cannot even find the space to regroup at all. Medication can open a small window of relief that provides a chance for the seeker to get some energy back. That energy must be filtered back into devotion towards God and not into ego based idiosyncrasies otherwise the opportunity is wasted and becomes a crutch or addiction.

-Atreya Thomas