Yes, SVG can be rendered and animated.
Should you do it? Probably not. You're better off using a dedicated SVG lib and dumping the result into a guarded container node.
http://snapsvg.io/Yes, MathML works but not in Chrome because Chrome doesn't support MathML. They think you should use MathJax instead.