Possibly, but equally likely they start evolving weird colors patterns that fool the ai into not recognizing them.
I wonder how long that would take under the the optimal conditions?
Months? Years? Decades?
(curves where optimal amount of potentially mutating cockroaches and selection pressure meet, or whatever the parameters are. You get the idea.)
Which will attract a new insect that is enticed to eat the shiny new creatures which will bring in insects or others that eat those insects. There's no free lunch.