Yes, even though the style is originally declared by individual transforms, when you retrieve the transform thru javascript, you get a matrix.
No problem, just set the transform with the matrix
<div style="transform: translateX(5px) matrix(values get from javascript)">