Can you toggle the gravity in a physics world from the script?

A third option is to make the objects kinematic and animate them yourself. Depending on what you want to do that can be either pretty easy or quite tricky.