I am all for self-experimentation, but I have some reservations about this particular protocol.
If you have obsessive sugar cravings I would start with an anti-candida protocol, including the strongest probiotics you can find (not store shelf variety, but pharmaceutical grade). I did 2 months of Theramedix DGX, CDX, and PRX, and about 4 weeks in that little voice in my head that insisted on sugar just went away.
Coconut oil is also contraindicated in the presence of systemic candida even though it is technically anti-fungal. If the candida is solely in the gut it can help, but if it is systemic, the ketones produced by the coconut oil will actually act as food for the candida and make the infection worse. You might want to try olive oil instead if the idea of a fat fast interests you, but you suspect candida.
8 Tablespoons of coconut oil per day is going to be unpleasant for a number of reasons. Do you normally eat much coconut oil? I started with 1 Tbsp., and it brought on sudden and intense nausea. I can now eat up to 3 Tbsp. per day, but I had to work up to it over months starting with just a fraction of a spoonful. Straight fat can sometimes be difficult to digest, and that is a lot to ask of your stomach acid and gal bladder if you haven't prepared it for that radical shift in macros. Slowly building up your fat intake will increase your bile and make it much easier.
I'm not saying it can't be done, but patience and slowly shifting your macros to favor fat will make your digestive tract much happier with less nausea and diarrhea (most people can't get past 80% fat without serious diarrhea). It sounds like you want to punish your system for craving naughty things, but it doesn't need to be punished or shocked, it needs to gently be healed. Again, patience. It is also summer (at least here), and the longer light cycles are going to make you crave fruit, so if you are craving sugar, try some fruit and see how you feel (if you feel yucky, that would make me think candida or leaky gut).
I know I sound like a bone broth pusher, but I would make that an at least a once daily addition to your diet for a one month experiment. A lot of the mid-section weight gain we blame on eating things we shouldn't is more from having excess intestinal permeability, and the inflammation from things escaping into our system that shouldn't, rather than the badness of the food itself. The healthier you can make your gut, the less crappy you'll feel when you do stray.
Good luck, and if you do manage to successfully digest 8 tablespoons of coconut oil per day without digestive distress let us know.