This isn't my experience. I'm way more focused in the morning and then it's all downhill after lunch. By the time it's the evening I have zero motivation to do any code.
Very much the same for me. I don't enjoy getting up early but my brain works best if I get to the office at 7ish for some reason. After lunch I basically roll down hill. I seldomly feel any will do do any coding after having spent 8h doing just that