I think it's more likely to satisfy copyright law otherwise you'd just be downloading books for free. You can use Adobe Digital Editions which handles the DRM, so you can read offline as well. Online works too. I've not used it much, I think some books have limited copies available to borrow as well so you may need to join a waitlist.