Can you create a full algorithm to make several Ai without making it step by step through the normal process?

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 ":

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: