Yes, late-night study is good if you have ample time to sleep after the study. One may also be able to concentrate better during late nights because of less distraction.