Can undiagnosed/untreated anxiety excuse grades

Compared to my classmates, the schools I am applying to, and the GPA of past students at my school admitted to those colleges, my GPA is not high enough which is my worry.