One way to stop myself craving chocolate at work is to drink a flat white. Obviously flat white has quite a few calories. Also, coffee is not ideal for someone with rubbish blood sugar regulation like me. If I'm going to snap, which is better: 2/3 of a divine chocolate bar or the flat white? They are similar in calories. (I have geographical and coeliac restrictions which limit the alternatives open to me at work on campus. And sometimes the only way I can keep going to meet a work deadline is to snap and have a treat.)
I know a skinny latte is fewer calories but I know from experience that it doesn't remove the craving, perhaps precisely because it is skinny.