Actually you can learn during sleep.
Not from a book. I've tried that in my dreams and to my frustration there's never anything interesting in them.
Going to the bathroom sometimes has a problem solving reset effect like sleep. I've had a few aha moments when completely stepping away for a few minutes.
Einstein slept a lot but his brain was very busy during that time solving problems. Thomas Edison though didn't sleep much. I wonder how his brain worked.