No, not exactly. I mean, you could just be curious, you know experimenting, or having some fun with your friend (hey, there is such a thing as male bonding!). The thing is, usually when guys do this they're not gay - some guys just need to try things out, because we all are curious in some ways, whether it's about sex or music!
I mean, I'm gay, and I sometimes think "What would it be like to be with a GIRL?" but usually it's just "ew women"
Like I said, just don't worry about it...and you don't need to ask us, just think this: Do I feel love for a guy? Do I find guys hot or sexually attractive?
Those are the two main questions. If it's a no, you're most likely just a curious fellow and was willing to try something new!