Yeah, it's possible to get into a relationship that way, by having a good friend and then gradually realising you like each other as more than that. Don't try to force that, though; and it's generally not a good idea to start a friendship with the intention of doing that.