I think technically you're asking for unit AI to flee defenses. Skirm would try to make the units go into range, but if they already outrange the deferences then they will shoot at them without taking damage (except for edge cases like Ronin vs. Stardust, but Ronin already has unit AI vs Stardust to help it keep just outside range).
There is currently no support for swapping in different lists of units with variable settings, but it doesn't sound impossible to add. Adding some state toggles that refine AI behaviour sounds reasonable now that they can be hidden from the default UI. I'd expect some people would use them for Initial States rather than ever toggle them ingame.