Yes, deception is illegal even if no one was, is or will be harmed; the rule is that it's illegal if the deception was made for profit (not just monetary). There are many situations where you profit from deception even though no one is harmed, and that's illegal.