Absolutely. In fact, there are many games that teach the player about history or ancient/contemporary cultures. Games are funny (in general) and if players can increase their cultural level while having fun, well, I have no words to express how wonderful it is (I say this because most students don't like to study because for them it's tedious and boring, like in school. So, if people can learn things in an entertaining way, great). Examples: Assassin's Creed, God Of War, Tomb Raider, Ghost of Tsushima, Indiana Jones, Wolfenstein...
And yeah, i'd love to see games being used to teach at classes.
(Sorry if my english is a sh**, I'm learning)