I think I may have done that as well though I don’t recall any of it. My wife says I have talked in my sleep in a foreign language. Another time she said I talked in a deep southern accent about a “yankee patrol over yonder”. It’s wierd.
I’ve read theories that we are born with the memories of our ancestors. Crazy stuff!