I don't want to sound horribly negative. I like to be helpful. So take from this story what you will:
I knew a vet who had horrible anxiety. I worked with her during her first 3 years out of vet school at a large multi doctor practice. She was diagnosed and started treatment during Sophomore and Junior years of undergrad. She had not had quite the grade struggles you did, but she was obsessive about grades. Even when she thought about suicide her Freshman year, she had decided not to because "There wasn't time, I had to study for a test on Monday." (Her words
)
She got treatment, she studied hard, but she was never completely cured. She said she struggled through vet school (got in with a PS about overcoming anxiety) and was late for or missed tests due to nervous vomiting. She had to pass on her first few surgeries because she had chewed the tips of her fingers bloody. But she did make it! She got hired at one of the clinics she did rotations with (where I met her).
I thought she was awesome as a human being. She was also super intelligent and a pretty good veterinarian. She did though have to figure out how to not let her anxiety get the better of her. She dipped her fingers in no chew spray or wrapped them in no chew vet wrap if a big surgery was coming up. She sometimes took awhile to get to the surgery suite because she would read and reread and reread and reread the protocols. She constantly debated whether she should have chosen another career. She felt she wasn't fair to her clients or patients and nearly quit many, many times.
Last I heard, she was still practicing. She's on yet another medication protocol and it seems to help more. She knew she would never be free but she was ok with constantly fighting herself. She also left our practice in part to get away from the emergency cases and the highly technical surgeries and works more as a routine GP.
It can be done. She recommended to the tech with a minor anxiety issue to find something else and said a high stress job and anxiety were a horrible combo, but again do with it what you will.
It can be done. Is it worth torturing yourself? Will you be solid for your patients and clients? Will you be happier in vet med or outside of it? You deserve to be happy, so just think about what gets you there before you wrestle your future.
Best wishes, luck, and happiness to you!