If you followed the repo link for Librerator that I posted, you would find on that page described the features you want, only for comics -
Next, check if comics uses the same 'engine' library as PDF -
If it does, you will know for certain that what you want is possible, even if not coded.
If you follow the PDF handling and find yourself at a different 'engine' library -
Then skip over to that library's repo and/or web-site to find if it supports the features you want.
That process should at least tell you how far down on your agenda the project should be.