Physics simulation in-editor?

I would like to bake physics simulations into animations in the editor, without entering Play mode. Is it at all possible to tap into the physics engine to run simulations in an editor script?

I dont think so, though, why not use a program like blender and convert the physics there into animations? You might even get better looking physics.