Sora and Riku are very good friends, but they aren't in love with each other. In CoM, for example, Namine refers to Kairi as "The person who is most important to you." Since Namine can see into Sora's heart, we know that she was telling the truth.