I think this concept is heavily underexplored and I'd be happy to see more of this kind of games.
I also wonder if anyone tried to embed some learning into gameplay in a more goal-oriented way. I personally had some ideas about what would be an arcade/logical platform game with physics oriented gameplay. The game might ask you to e.g. solve an equation to succeed or reach the goal faster (like, find a right angle for cannon to fire at, so that it knocks down a bonus thing you need, opens a door, etc.). Maybe not force you to do it, just hint towards it while allowing for a more direct solutions - creating an environment in which using maths can help player achieve better in-game results. Real game results, not silly 'multiply this-and-that to get 1000 points'. Game first, education second. I wonder if anyone ever tried that.
There is some vague background knowledge you can also learn just be making a game fun against a backdrop that kids can pull in via osmosis. There are miscellaneous things I know about the American west's geography mainly due to Oregon Trail, for example.