Can you be a successful nursing student with mental illness?

I have generalized anxiety disorder, major depressive disorder and post-traumatic stress disorder and when I sat down to do my nursing application I had a advisor (they know me on a personal level) tell me she'd pick something such as sonography or RT versus nursing because she is worried about my mental health status. I was adamant about going through with my nursing application but she said she doesn't think I'd be a successful nursing student with my mental health? Is she right? Does anyone else have mental issues but attend a nursing program , what do you think?