Progress update: yes, it is possible. I've made most animals (even rabbits) to attack the player. And villagers can do that, too. Now tell me what you want, because I can change who can they attack, their damage, speed, other attributes. Probably I'll manage to assign other unusual AI tasks, too.