Effective leaning also takes focus.
Pick up a programming book in a new language and start reading. You will have similar limits around how much you can really learn in a given day.
That's not to say you can't be productive for longer periods but the sustained intensity decreases.
You also have to keep learning new bleeding edge stuff to not be out of business in a few years.
Plus doing a lot of side projects and extra work, always opens up avenues for new opportunities and helps you to meet with other smart people who often have something new for you.
All of this is work. And there is no way you can be good at this if you only work for 4 hrs a day.