Yes, I suffer from this severely. Random embarrassing situations even from decades ago pop into my head out of nowhere frequently and I often have to scream, and sometimes punch myself, to interrupt the thought from replaying and stop me from spiraling. I even remember things I did as a little child, and, now this is really fucked, things that didn't happen but could have happened if I said the wrong thing in certain situations. My brain always finds new ways to torture myself.
Writing this I am feeling ashamed of being ashamed of things that are so far in the past that none of the people involved remembers, and even if they did it wouldn't matter, as it's literally a part of existing amongst humans to get into embarrassing situations but I still can't stop myself from obsessing over it. Because of having this problem forever I avoided so many things in life that could potentially result with embarrassing situations which in turn resulted in am even more embarrassing state of of inexperience and stunted development.