I was very anxiously preoccupied in my attachment style. I still am to a degree. But knowing about it helps. My only relationships have been with a gay man, a man who didn't want to put a label on it but enjoyed a relationship, my abusive xh. I read a book by ''Jeb Kinneson'' (?) which made me realise that even an abusive relationship can be a way of avoiding intimacy. That made me angry when I first read it but now I think there's truth in it.
I don't know if any of this resonates with you but I used to feel really uncomfortable if people did too much for me, or ''saw'' my life. I was only comfortable with them seeing selected snap shots of my life, as controlled by me, but if anybody got to know me well enough to have an opinion on my real self, I would feel exposed and vulnerable and panic and withdraw. Not consciously of course, I would think I had just gone off them.
What was your upbringing? Mine was parents who never allowed me to express an emotion. I was a people-pleaser. I was trained to fit in around other people and to have no needs. They kind of weren't that in to me! So I felt ''attracted'' to men who didn't want a relationship with me, hence my very short list of relationships.
I think it is possible to change who you're attracted to.
Have you read Heller and Levine's book ''Attached''? If you haven't, you should! It's an eye opener.
I've done a lot of work on myself, trying to figure out why I didn't / don't have relationships, why it seems the norm for other people and yet it doesn't happen for me.