Everyone has stress and anxiety at some point. The key is mitigating it. If you can’t control it, or you need meds to control it (chronic), an accurate self examination should reveal that and regardless of what an AME says you should remove yourself from the flight deck. Talk to someone other than the AME before you throw a career away, but prepare yourself for the reality of not flying.
Sorry, didn’t read the whole thing. But I agree with the other poster. Talk to a psychiatrist and make it a regular thing. If they give you a clean bill of health, you shouldn’t have any problems.