While I certainly can't prove it I would suspect most of us, here on PC, were struggling with our various mental illnesses well before we actually received anything in the way of a diagnosis. It's unclear to me, from what you wrote, whether or not you're currently in treatment. If not, perhaps now is the time to get started? And if you are currently in treatment, perhaps talking with the mental health professionals in your life about career options would be the appropriate way to approach the subject? I certainly don't think I would be in a position to advise you.