Can I use FMLA leave for mental health?

Yes.

If you work for a covered employer and are eligible for FMLA leave, you may take leave if you are unable to work due to a serious health condition, whether physical or mental, that may cause occasional periods when an individual is unable to work if it requires treatment by a health care provider at least twice a year and recurs over an extended period of time.