I wouldn't do what you did but if you were doing any kind of intelectually demanding work it would be astonishing if you didn't learn more than people working 40 hours a week do. Double the hours is unlikely to lead to double the learning but 1.2x? 1.5x? Perhaps as an upper bound 1.7x?
However, the law of diminishing returns definitely applied and my energy reserves were depleted within a few months, never having a chance to recharge. I recall towards the end I would catch myself sometimes just staring at the monitor for an hour or more, doing nothing. I also think this was a one-time shot for me—I lost something I can't get back and wouldn't have it in me to do this again.
In some video games you can deplete stamina, but permanent debuffs can drain max stamina. I like to think of it as the first happening, then eventually the latter.
e.g. doctors become good at their jobs after their schooling by seeing as many patients as possible / doing as many procedures
This becomes less important once you become proficient / put in your 10,000 hours.