Yes, animals do practice revenge. Chimps do it, for example. Macaques do it, too, although not directly: if they cannot attack the offender because he is much stronger, they would hurt someone weaker instead, sometimes the attacker's relative.