Cross-ref to GH issue:
https://github.com/koreader/koreader/issues/3044
It is something that interests me, but I can't really see it working on a device due to the processing requirements. Those Amazon files are preprocessed or possibly in some cases manually crafted.