dopamine has a role in this but it's a side show compared to the change of metabolism, you can see it in all of the side effects of these different drugs, the flushing skin of alcohol, the dry eyes and mouth of cannabis, the increase of acne and skin fats that happens from amphetamines, the clogged fine capillaries from caffeine and nicotine
euphoria is not a dopamine effect, which can be observed in the behaviour of children with sweets, neither is a change in metabolic function, there is little to no dopamine receptors outside of the brain, and very common with euphoric effects is a feeling of warmth, even heroin does this (i kinda had to mention that)
there is other receptors that are outside of the brain that are involved in this though, like histamine, those change body heat, cause itchy nose or dry mouth/eyes and increase wakefulness
but when your blood sugar is low, and the thing causes it to rise, or to increase burning of it, you feel better, that is what drives the addictive behaviour, the rest are part of it but not the base of it