I believe you can. I'm on disability for depression, anxiety, panic attacks, ADHD all sorts of mental health issues myself. You need a good psychiatrist, psychologist, etc. Hopefully one you've been with for a good while and who is willing to fill out a ton of paperwork. Hopefully without charging you. If your application for SSD goes like mine and others that I know, you will be denied the first time. So, keep copies of all of your paperwork so you can simply copy your answers from the first time without having the stress of filling out new paperwork. Don't give up after any rejection. It will most likely work out in the end. Good luck and prayers being sent to you.
I was approved for SSDI based on my various orthopaedic issues as well as depression and anxiety.
Possibly, got to apply