This is generally good advice but I’d use https://us.feliway.com/products/feliway-classic-spray-60ml?variant=33417856155783 (If it’s available in your region) to spray on the spots instead of vinegar. Cats don’t typically eliminate where they’ve scent marked, and the spray is full of marking pheromones from their feet.
Sugar addiction is not the same as a drug that causes physiologic dependence, like cocaine or opiates.
But
You can become addicted to sugar, or anything that makes you feel good, because you’re basically hacking into the cocaine repository that’s already in your brain. Anything that triggers a hit of dopamine and/or noradrenaline - gambling, shopping, sex, food, weed - can cause addictive behavior, but you’re essentially addicted to your own neurotransmitters and not the thing itself.