Is it possible to make mobs attack specific players?

Basically, is it possible to make mobs (like Zombies, Skeletons, etc.) and make them only be able to attack players with for example a specific tag? Is it also possible to make Iron Golems aggressive to players with that specific tag?
Continue to help post