My positive experiences with libraries is exactly what I’m drawing on. It seems to me that if physical libraries can be made free to use, nothing prevents a digital equivalent other than lack of the same sort of funding.
The apps are a bit janky, but they're there.
Long live libgen - one of my favourite places on the ‘net.
As opposed to freely being able to download a PDF on-demand regardless of who else is reading it.