Some people like our Jennifer like to use such rules under coastal batteries.
In practical terms within the structure of a heavily abstracted game its possible to have such things but at specific points like:
Gibrater: all ships that pass get a free shot at by the Brits say a 1 or less is a hit.
Baltic straights: same idea
Also under AARHE under invasions in the first round of combat after supporting shots from naval ships has been performed, any defending artillery get a free preemtive shot at attacking infantry. AA guns then fire at planes, followed by preemtive plane attacks ( only if the defender has no air support). Then the attacker can roll for infantry only. On the second round attacking armor/ art units can participate… as they are being unloaded only after the beach is secure.