Yes, and chronic anxiety can be attained developmentally as well (or hybrid contributions from genetics and environment, as tends to be the case).
In my case I’m lifelong bipolar disorder and generalized anxiety disorder.
I’m definitely not a doctor. You shouldn’t trust medical/psychiatric information given in any internet comment though.
And to paraphrase the other commenter, “didn’t realize I needed to get your permission to write about something without the proper qualifications”.