Could this all weight gain be anxiety related?

Anxiety. Not uncommon for anxious people to overeating if food brings calming effect. In your case, not sure how much weight u put on over how long, if u r on medications or have medical issues that contribute to increase appetite, so i recommend evaluation by your pcp.