Here is more evidence that studying right before bed is helpful:
After reviewing the data on tens of thousands of Duolingo users who used the app to learn new languages, comparing when they studied with how well they were performing on the app's tests. That review led them to a simple two-step formula for improving language learning and retention:
Study the language right before bedtime.
Study every night, weekends included.