They developed something like that a while back for harbor defense. I believe it was one of those ideas to protect harbors after 9/11.
It’s the computing programs and power that would make it very effective. Some of them could be quite a distance away from the carrier group, others closer in. Take it a step further and incorporate some flying drones as you suggest as well.