Absolutely. And all you have to do is add some kind of randomizer and you’re that much closer to what’s recognizable as a modern RPG.
We’ve told stories as long as we’ve existed. I have no doubt that goes into deep evolutionary time. Same with games of all kinds. It likely didn’t take long to combine those two ideas. But it’s likely not until we had leisure time that structured games of let’s pretend evolved. Sometime after agriculture and skill specialization.
But who knows. After a big hunt, neanderthals probably sat around and told stories and threw dice. For all we know most of the debris archeologists find that they say has “religious significance” is gaming gear and cave paintings were character sheets.