Hard to stop thinking about someone


I have a friend that in no way I could have a romantic relationship with but is someone I constantly think about. I’ve developed an anxious attachment style and although I don’t act out on any of my anxieties or jealousies, the person is constantly on my mind. I do the model to see how clearly it is my thinking and this person not texting back or communicating with me is all due to my thinking/stories I tell myself. This person is not my type or has so many issues where I normally wouldn’t be interested in that type of person. Somehow I’ve become obsessed. This has been going on for a few years. But it still is habitual and I keep going there and have to keep pulling myself out. I’d like to just have a platonic friendship where I am actually happy for the person, but the feelings are the feelings.