Yes you can. You only have to write one smart AI that controls them all.
Unreal Engine has few twitch livestream that explain how to do this, check out "MOBA Minion/Creep AI ":
- The Basics: Blueprint MOBA Minion/Creep AI: The Basics | 01 | Live Training | Unreal Engine - YouTube
- Spawning Waves: Blueprint MOBA Minion/Creep AI: Spawning Waves | 02 | Live Training | Unreal Engine - YouTube
You can also check out the Making Game Ready AI series where they make a Game ready AI from Scratch:
You should also use AI pooling, which means if an AI dies, you can respawn it somehwere else, which is more efficient. I wrote a small script on how to do this: