Is it OK to be interested in people you know you have no chance at a good relationship with?
Is it OK to risk a sure good friendship for a maybe good sexual relationship?
Sure it is OK to have the feelings - but the real question is it Ok to act on them?
You have to decide how much you want to risk. Would you lose friends if the relationship didn't work out? Could you handle being rejected if there was no interest?