Oh no. I used to work in China where this was a thing. Thankfully not in our school but am absolutely terrible idea. Some parents become so entitled and demand to know exactly what is happening every second of the day.
Op, I've also recorded lessons for professional development, but I'd wear a mic so it only recorded me and position it so it only captured me. And, depending on what section I wanted to improve, for example, if it were the intro, it wouldn't capture any children, just me at the front. And of course the TA would be told!
What kind of relationship do you have with your teacher? Would you mention it to them? Or a friendly line manager? I would hate to be recorded without my knowledge. How awful. It makes you feel like they're monitoring you even if they're not.
(I've also encountered this in a malicious way, recording a teacher to then basically bully them out of the job to prove they're not 'good enough', but that's a different story entirely).
As teachers, we know how hard TAs work and how valuable they are, when I was leaving teaching 6 years ago, they were unfortunately cutting down drastically on TA roles, which was awful.
We appreciate you and so should your teacher! They should bend over backwards to be sure you're feeling comfortable at work, especially leaving on time at least (I used to be very clear on this!!), not covertly recording you without your consent!!!