Very possibly, yes. The original modern libraries in the west were effectively subscription libraries, as in, they weren’t free to use, you had to pay to become a member. It was only later that they were run by the government. That said, there is a vast gulf between them and a little box people put outside their homes with some books inside.
Further reading: The Library Book by Susan Orlean