What about using LaTeX as source and then converting to OpenMath/ CAS?
Generally speaking: not automatically
TeX does not distinguish semantically between 1 2 3 and 123.
Or between x cos x and xfoox.
It has no notion of precedence of operators
Gradshteyn and Rhyzik, Table of Integrals and Series (Academic Press) was re-typeset completely in TeX TWICE, because the first version did not reflect semantics. MathML, XML, and OpenMath are inadequate.