With no sources, and only a second-hand anecdote, I’ve heard that fasting from anywhere between 3-7 days can have some crazy effects on sleep (apparently you have tons of energy at odd times, ketones, etc etc). Anyway, might be worth a shot in the dark if nothing else seems to work for you during those spats, maybe try a bit of a fast and see if it provides a helpful shock to the sleep system?