I did that for a big chunk of my life. Instead of imagining myself as a character in a favorite book or TV show, I'd imagine myself into them. Sometimes I'd give myself abilities that I don't have. In fantasies, magical traits or super abilities of course. But in more realistic fare, I'd imagine myself as braver, more capable, able to understand people. It gave me a lot of satisfaction, of course, comfort, because it's easy to understand people when you're controlling all of them!
So maybe it IS an aspie thing, tapping into a desire to be successful socializing, to understand why people are acting as they are, to have people who think you're great and are friends and you don't have to worry about them getting fed up with you. Mental stimming?
_________________
Your Aspie score: 152 of 200
Your neurotypical (non-autistic) score: 47 of 200
You are very likely an Aspie