I don’t see why not.
Used book stores often will buy and sell books, so you can return a book and get some money back, but your idea is a little different.
I vaguely remember a bookstore in an airport that you could “borrow” the book for a price. I don’t know if it still exists now with all these electronic reading devices.
My dad sells used books, and that business has declined quite a bit in the last 15 years. There are some books that will never be put in any sort of ebooks, and those still sell for a lot of money.
Anyway, people who sell books online like my dad, they could feasibly have a store as their storage center for online and rent books and sell them from the store front too. Sell some coffee in there, and probably you make more on the coffee.