It's not very hard to remove the DRM from Kobo or Google Play Books.

For reference for Kobo in particular: https://github.com/noDRM/DeDRM_tools

I recently threw an LLM at it to turn the Obok plugin into a statically linked CLI in Rust, it works great.