Can TAs write letters of rec?

Okay so I’m transferring schools next year, and I was wondering for the application if you could ask your TAs to write your letters of rec? also, can high school teachers write you letters of rec again? I am currently a first-year

Many schools allow it, but some stipulate that the professor must sign off on the recommendation.

all right thank you!