Sure, but the key here isn’t “don’t work late at night”; it’s “know yourself, be honest with yourself, and act accordingly”.
Personally? 90% of the time, if it isn’t done before lunch, it’s not getting done. So, I come in as early as I can and get my heavy lifting done from 7a-11a.