If you are craving chocolate, you are probably craving magnesium. Unless you are really looking for an excuse to eat chocolate (not going to judge you), you can try to eat something else magnesium rich (or even a magnesium supplement) and that should do the trick.
We don’t have to really eat it. We can leave it for compost.