Well t depends on how they feel about you and the kind of person they are. If you had a guy friend who was quick to say a girl likes him then no. But if this a guy who doesn’t think much about romance or maybe has known you long enough then of course! It’s much more understandable if you have know this guy for a while. And of course its also the way you say it. Basically if your friend knows the line between friend and boyfriend and their personality. Hope i helped with my advice have a good day!