Is it permissible to use hypnosis (from a professional counsellor) to help alleviate depression?

If it does not cause harm then it is permissible