It's not the chocolate that's so bad for you; it's all the sugar, in milk chocolate. Dark chocolate is good for you. Buy one that's at least 75% cacao.
Of course, the amount has to be limited, which is up to you, to do. You can try having just a small piece of chocolate daily, then whenever you get a craving, have something else, like an apple or veggie sticks. Go for a walk, play a game, anything to take your mind off the chocolate.