I took anatomy (high school and undergrad), microbio, genetics, developmental bio, cell biology, etc etc. Cannot honestly say that any single class made the same subject in vet school any easier for me. You will simply not cover the material as in depth as you will in vet school, and an undergrad course won't teach the subject the way a veterinary course will. Or, in some cases, you will cover the subject ridiculously in depth in undergrad and breeze over in in vet school (genetics, biochem, parasit come to mind). Every vet school is different, but that's just what I can say from my own experience + what classmates have said.
In undergrad, anatomy for me was always 'ID this. ID that.' In vet school, there's a lot of 'ID this. List the nerve/blood supply. Describe what happens if x is cut. Look at this picture of an animal and tell me what specific structure is damaged to cause these clinical signs. List all the muscles involved in a certain motion.' and so on. Just a lot more in depth knowledge and spatial orientation required for obvious reasons. Maybe there are better anatomy courses out there compared to what I took, but I took comparative anatomy (cat, shark, and some other creatures) and it was only helpful for the comparative zoo anatomy elective I took in vet school, lol.
It obv won't hurt to take any of these courses, but a few of my classmates were super stressing first year because it was their first anatomy experience and they did fine. Don't bog yourself down in undergrad with electives assuming you will be super ready for vet school because of them. Take them if you need the elective credits/they fit into a reasonable schedule load for you, but I wouldn't necessarily say you should go out of your way to make sure you get these courses in during undergrad. If they aren't a pre-req, there's a reason for that.
Caveat: I have heard that an immuno course can be helpful in vet school. I didn't take an immuno course and it was hella hard in 2nd year, but it was hella hard for those that did take immuno in undergrad too, they just spent less time on studying the basics because the first few lectures were a refresher for them.