i don't think so, but you can either entirely disable it, or make them passive, or tune it to your liking; there's tons of customizability in the difficulty!
it's honestly some pretty smart design in how they handled it! you should give it a try, see if you like it!
one little beginners tip that's kinda important: they always choose the shortest path to your base (so pretty much any structure you build) and they attack based on your power consumption! (there's a little widget that tells you when a wave is coming)