Isn't it possible to do this on Kobos using Koreader and using your Calibre library as OPDS or something like that?
It's not something I've tried, and it would probably be easier using an Android reader anyway.
But look here for inspiration, if you want to use a Kobo:
https://blog.videah.net/my-e-reader-setup/