hiya, welcome!
i can't speak for every doc/therapist out there, but it didn't stop me at all. (social anxiety and general anxiety disorders both, panic disorder, ptsd, and an undiagnosed but formally recognised mood disorder—my psych and gp both knew about the list, my psych had no issue writing my letter, and my gp had no issue with writing me a script.)