Addiction is not all about drugs. It is behavior. A person's attachment to a stimulus to the point of dysfunction and even self destruction.
To cure addiction, change behavior. To change behavior, change the environment.