I am not a pilot, I am however a shift worker who works nights... in the last year I have been fasting on my last night shift to swing my sleep pattern back to normal the following day... it works well...
I am in charge of a shift where I work and continually am telling my story about how I have found a way to manage night shift... I wrote a
short bit about it just for that reason.
Essentially, it does work... no doubt you will have experiment and find what works best for you, but it does work