LOLZ @ being dogmatic about food choices. Obviously eating chocolate during a cut is not intelligent, but candy taken in at remotely intelligent times during a gaining phase/not used as a primary macronutrient source is not going to kill anyone and can actually be a useful tool.
OP- I agree that it’s better to increase work volume to match the added calories rather than lowering overall intake to accommodate a shitty nutrient source like candy.
CBL and IF are good protocols and will help deal with dirtier calories in general, but a lot of the benefits from those protocols come once the body is accustomed to them. Suddenly switching to one of those diet plans in general, much less making the switch while eating things like chocolate, will likely still cause you to bloat up and look like shit until your body gets used to it. I’d advise against switching to IF/CBL if it’s only a short term thing rather than something you plan to stay with consistently. But I’m guessing that you weren’t going to go with that recommendation anyway.
Whether you switch to IF/CBL or not, I don’t think anyone will disagree that the best place to concentrate candy is around workouts. Postworkout isn’t bad, but I like to have it preworkout. I think this was initially recommended by BBB, but 2 candy bars and ~40g of protein 40 minutes preworkout is pretty nice. I’ve tried that protocol several times and it’s worked very well for me. I’m not sure what types of candy you have and what kind of macros they contain, but 2 bars is usually good for ~50g carbs and ~20g of fats. My understanding is that this is useful because the resulting insulin spike helps with nutrient delivery as well as the prevention of catabolism during workouts- spiking insulin post wouldn’t give you the same anti-catabolic effect during your session.
EDIT: I’m writing mainly from experience. As always, I defer to anyone who has more experience or legit scientific/medical credentials.