Weapons, words, and code - all means of changing reality. All, however, are sharp tools in that not only can they turn in your hands, but they'll do exactly what you tell them to - even if that's not what you meant.
So according to Gizmodo, the Ember mini swarm bot from iRobot is designed to be small and cheap so that "they could be left behind on the battlefield if needed."
So yeah, it wouldn't be hard to pick up one of these things, stuff an IED in it, and then leave it in a current oparea. Not at all.