Some cravings do if it's merely down to a mineral deficiency or similar. However, there are some which have deeper roots than that.
For example, I worked with someone who was addicted to coffee and the root cause was a reminder of times she spent with her mum, who had passed away a couple of years beforehand. It was a powerful realisation and she was able to release a lot of stored sadness and grief, which then released her from the compulsion.
It didn't mean that she couldn't still have cofffee sometimes, but the attachment was resolved.