I think what the OP means is; Within the physics of Orbiter, could two Earth or Mars sized planets revolve around a common gravitational center, which happens to be in, or just beyond the upper stratosphere of either planet? And have it be stable.
That sounds very, Larry Niven