> Repeated, excessive intake of sugar created a state in which an opioid antagonist caused behavioral and neurochemical signs of opioid withdrawal. The indices of anxiety and DA/ACh imbalance were qualitatively similar to withdrawal from morphine or nicotine, suggesting that the rats had become sugar-dependent.
https://pubmed.ncbi.nlm.nih.gov/12055324/
This one is even better but should be read in full: > The reviewed evidence supports the theory that, in some circumstances, intermittent access to sugar can lead to behavior and neurochemical changes that resemble the effects of a substance of abuse. According to the evidence in rats, intermittent access to sugar and chow is capable of producing a “dependency”. This was operationally defined by tests for bingeing, withdrawal, craving and cross-sensitization to amphetamine and alcohol