If referees were more consistent then I don't think there would be so much diving. You see skilful players being constantly kicked but given nothing by the ref right up until the player goes down and draws attention to the foul.
Retrospective action is a good idea but it is often very hard...