Obesity and glycemic dysregulation associated with chronic opiate administration manifest clinically in the methadone-maintained population.
Evidence from both preclinical and clinical studies demonstrates that chronic opioid exposure is associated with increased sugar intake. Preclinical research has attempted to refine the potential pathways and mechanisms of action through which opiates may regulate sugar intake, and how sugar consumption may affect the endogenous opiate system. Preclinical animal studies suggest that direct action of mu agonists at the nucleus accumbens shell, hypothalamus, and paraventricular nucleus is associated with development of sweet preference
The preference for sugary foods resulting from opiate administration may lead to increased consumption of such foods, and possibly accumulation of excess body fat and weight gain.
Activation of the mu-opiate receptor is associated with several effects on glucose intake and glycemic control. These include inducing sweet, or palatable, taste preference; hyperglycemia induced by direct action on pancreatic islet cells, likely insulin resistance caused by dietary preference for sugary foods; weight gain and tooth decay likely also associated with preference for sweet foods.
https://www.ncbi.nlm.nih.gov/pmc/articles/PMC3109725/