Yes, you can use it for any spherical object, but remember that planets might not be perfect spheres.