Yes, it is possible to just be friends with a guy without falling for him.
To separate the two, only befriend guys of whom there is no attraction, whether it be one-sided or mutual, and avoid any form of flirtation with your male friends.
Even something as seemingly harmless as a male friend who compliments you from time to time on your physicality or even fashion sense, could lead to you beginning to fall for him.
If you notice that any of your male friends continuously compliment you, let them know that you rather they don’t.
Be polite about it, but firm.
Falling for a male friend can most certainly be helped as long as you are diligent and ensure that you don’t allow sneaky triggers such as the occasional lighthearted flirtation to go unchecked.