Yeah, I can't imagine only writing boring code at work and never getting to learn new, interesting things that could get me a role using those things that I actually enjoy using (now I am past that already, but I've done this all my career and would recommend unless you don't care at all about enjoying your job).
My job sometimes gets really boring and uninteresting. I can then scratch the itch by working on something for my own benefit and interest.