My understanding is that addiction is avoidance at its core. You're either avoiding the cravings, the withdrawals, or something else all together.
There doesn't have to be some other underlying issue. People get hooked on opiates in hospitals. Then they keep doing them to avoid the withdrawals. Doesn't mean they're avoiding something in their life. But it still counts as addiction if they are!