Just a thought but, can you smooth a mesh through scripting? not saying i want to but is it possible, maybe throw down some scripts together in this thread to figure this out if you think it is possible? sounds impossible.
You have access to the mesh, as such its possible.
But it requires that you implement the whole algorithm etc required to generate the “smooth mesh”