I never bought the GOTY edition, but I did buy the Shivering Isles disc, and it DOES download to your Hard Drive, and you NEVER need the disc again, so yes you could loan it to your friends, or rent it or what ever.
I thought the GOTY also came with the other disc, but I guess I am wrong.