People have been talking about gamifying productivity stuff for years now — Duolingo is one example.
I'm sure it can be done well, it just isn't.
Is there a particular case you find lacking? What are you trying to learn?
Gamification is usually meant for creating addictive behaviors but I think some of it was in earnest effort. I can see how the idea of "Nobody ever wants to learn, let's try to make learning a game" makes sense from above, but it's hard to actually implement correctly. And at some point, some new manager with ideas about gamification for profit's sake inevitably joins the company.