It would make more sense to try to make cyborgs harder to hack instead of punishing of them. They are still people and that verges on bigotry towards them.That's making an assumption Pike would hop back into commanding a starship after being turned into a cyborg, instead of going home to Mojave caring for horses or something. Why would anyone want to hack a civilian horse carer?
All Airiam proves is that cyborgs should not have sensitive positions in the military, not that they shouldn't exist. If Airiam were not a Starfleet officer, no one would have wasted their time hacking her.