This essentially the same argument that Judson Brewer makes using insights from behavioral + buddhist psychology – https://drjud.com/book/
The insight is also to use mindfulness to understand the "true" experience of the addictive behavior and come to internalize that it is no longer valuable.