Not if you deploy the SAM in a location where it affects the opponent e.g. within range of his airbase, patrolling area or some other piece of air space which now is no longer safe to fly.
In the case of Iranian S-300, I think we can comfortly rule this out..