It's not an unworkable idea, mind you.
You could, for instance, have a new AI-only structure with a minimal spawn chance, which is automatically destroyed with the command station and which, upon destruction, causes a nuke to be launched through an adjacent wormhole.
Still not very friendly, mind you.