You can't really talk about ferromagnetism the same way as gravity because you can't have a monopole. The metal sphere would be pulled more strongly to the poles than to the equator, so the orbit wouldn't just be elliptical, it might be peanut shaped. But I think it's doable, probably not stable though.