This isn't universal but will tremendously help quitting. There will still be the nicotine issue, but it will help clear the other factors that can be as powerful as the physical addiction.
The cause why you started smoking might have gone away but you are still addicted to the substance. We don't have the same chemical addiction with doom scrolling.