I think that the solution is much more simple.
Print formula > Convert formula to image (screencap) > Paste image
Print formula > Convert formula to image (screencap) > Paste image
In EPUB3 readers with full <canvas> support one can translate the paint primitives via pdf.js into JS, too.