That would not prevent ganking as the time to kill bad ships is so ridiculously low you're dead before I even clicked on the galmap to navigate to your position even if I wanted to help you. And if you've build your ship competently, you can already escape trivially easy*, making it only a lure for more combat oriented "white knights". Most gankers would welcome that.
* except in very very special circumstances like being in supercruise drop range of a whole ganker wing with frags / TC and groms, and not doing anything about it like bailing out early in supercruise.
This.
But as always it's ESPECIALLY about punishing the player - who doesn't break any rules currently - that is shooting other players who don't want that in a game of shooting other players. It's essentially a revenge fantasy