I do it ALL the time
I have shared books with my mother and one friend (those are the only two people close to me that are ardent readers
and share my tastes) since I can remember. I did it with paper books and I now do it with ebooks. If it is illegal, so be it. I'm not gonna stop sharing things I love with the people I love.