AI is completely possible, though of course complex AI would require a lot of work.
Pathfinding, collision avoidance etc is best done with the RTS behavior, which can do what you mentioned. Programming enemy behavior is a difficult topic to generalise, though there's some examples out there.