This might be a more manual solution for Kobo imports, but I've taken to saving pages of interest via Joplin's web clipper extension. Pages can be saved as Markdown, HTML, screenshot, or URL. If I save the Markdown version (typically looks fine), it will have also saved linked images. Exporting that to another folder gives me something that I can convert to epub, using Pandoc. From there, it's trivial to copy over to my Kobo as before. Of course, this already would have been readable on my phone, since my notebooks also sync across devices.