No, absolutely not cheating.
This is what gets me about attitudes to mental illness. If you had a physical problem, say diabetes, that required medication then nobody would dream of questioning it. But mental illness is categorised totally differently.