It's like anything, all should be done in moderation.
From a Chinese medicine view if you are craving sweets excessively this can indicate a disharmony in the stomach/spleen as well as the excessive consumption of them causing the same disharmony. This can be a vicious cycle.
Hope this...