Yes. However, it will change the friendship a great deal. There are soem friends I had been attracted to (and it was mutual), bu we decided not to risk changignthe friendship we already had.
In some cases it brigns on a deeeper friendship, but most of the time it introduces new enotions that inadvertantly end the friendship. I am speakign generally here. There are exceptions and no hard and fast rules, as peopel are way too diverse to say if you do this, then this will happen, but generally for most people sex changes and in the end ruins a friendship.