Do girls also fall in love with close friends over time like this?

I always tend to fall in love with someone in my friend circles in place of someone out.
Cause the more they are similar to me I start to like them.
And I mostly never say that to them as I know I am going to get rejected and sometimes I tell them so that I can create a boundary and not get close enough to get attached.
I also lose more friends like this but it's for the best because I don't want to keep dreaming about them accepting me. (It still happens)
Do girls also fall in love with close friends over time like this?
Post Opinion