I want to build a cow farm by my endermen farm. Will cows go through the end portal if I get them there?
Yes, they can.
This is also referenced in this wiki
Mobs will enter the portal (As well as the exit portal) similar to the player.