Cycle Through /target

Is it possible to make a macro that cycles through /target. if so how?

I am looking to cycle through several NPC mobs with one button.
/target Rabbit
/target Boar
/target Cat

Any of the target commands that support cycling through units do not support name matching.