The Short Version
Yes. In common usage, “anorexia” refers to anorexia nervosa, which major health authorities (e.g., WHO, NHS, NIMH) classify as a mental disorder/mental health condition. The only caveat is terminology: “anorexia” can also mean loss of appetite (a symptom), which is not itself a mental health diagnosis.