No, medically insane is very specific with grotesquely distorted alpha patterns and associated behaviors - uncontrollable tremors, tics, loss of control of body functions, etc. etc. etc. You don't recover from insanity any more than you recover from castration. Charles Manson is insane.
Legal insanity is a definition. Medical insanity is a neurological pathology.
That again is a legal definition. The reasons these stupid definitions exist is the confusion wrought by wankology - er - psychiatry.
An insane person is demented for good because the brain is organically wrecked. I'm not talking about being paranoid about your coworkers giving you undoable projects.
. . but "nutcase". I'ts perfectly possible to be a "nutcase", even a "serious nutcase", without being insane. I would say at your peak you easily qualified for "serious nutcase", maybe even "very serious nutcase".