Direct export note in Epub format without any nasty conversion

This could be achieved by a pandoc plugin (as suggested here for example). Pandoc converts internally to it's own AST though, so its not a direct conversion in a strict sense, but it seems to be well supported:

https://pandoc.org/epub.html