They're probably handled by the server so not exactly. Generally speaking through, they seem to only spawn from drop pods in the 2nd half of the game and increase their numbers to oppose enemy titans. Also, some maps seem to spawn more of them than others. (Demeter I think is one)
Is trying to do this even worth the time/energy (aside from the lulz)? I have gone around and hacked spectres before, but seems like nothing really comes from it. Maybe if you get enough they will start to make an impact on the game in a minor way, but there are probably better uses of your time.
would be hilarious to see 15+ of them following you around though.