What do you mean by 'if'? There is no question that diving is cheating, just as going to ground to stop play when you're not hurt. Using the word 'if' about it is like these fake apologies such as 'If I offended you then I'm sorry', not I'm sorry I offended you.
As for how it can be...