Can I force $(htmlstring) to use createElement method instead of innerHTML for any complexity?

Can I force $(htmlstring) to use createElement method instead of innerHTML for any complexity?

The problem has its roots in dealing with HTML5 and the .replaceWith method that uses .innerHTML somewhere in the core.

I've posted the code and explanations yesterday on stackOverflow. Please have a look: http://stackoverflow.com/questions/2154196/is-there-a-way-to-transform-a-string-from-json-into-a-dom-structure

Stefan