The fundamental mistake straight men make is that they value the potential of a romantic relationship above the likelihood of a meaningful friendship.
Have I missed out on a potential relationship? Probably… but if that’s the price to pay for these friendships I have instead then I’d pay it over and over again.
Treat women as people and not prospects and it’s trivial to be friends with women. If you want to date, go on a dating app or a dating event or something dating specific. Let women choose to be romantic prospects.
Unfortunately, this is only something you learn after having a romantic relationship so there is the "chicken or egg" problem.
I've been in several long term committed relationships. I still randomly get feelings for female friends of mine. I don't think it has to do with anything the poster above is saying. It just can happen regardless.
Do you mean you find yourself lusting after your friends? If so, you should think about why that is and why you allow it to control your relationships, because lust as a catalyst for the compromise of a friendship is terrible for all involved.
Your life will improve substantially when you begin to treat all friendships, regardless of gender, as distinct, complex and meaningful relationships.