This turns out not to be true. Here's a paper that derives the gravitational field of a cubic planet. Key quote:
If we look at the changing direction of the field as we move across a face, then we observe
that the field vector only points towards the center of the cube at the center of each face,
at the corners, and at the center of each edge, which could also be deduced by symmetry
arguments, refer Fig. 2.
![The gravitational field of a cube](https://cdn.statically.io/img/i.sstatic.net/ac8gq.png)
FIG. 2: The field through a cube sliced in half through the faces. We can observe the slight
distortion of the field lines between the edges and the center of each face.
If you are standing on a face cubic planet midway between the center and an edge, then the local gravity field will not point towards the center of the cube's volume, but in a direction closer to perpendicular to the face.
Orbits around such a planet are also discussed. The ellipse of the orbit of a satellite precesses much more than around a spherical planet because of the enhanced gravity near the edges of the cube. The following shows the orbit of a satellite around a rotating cube. The energy gain of the satellite comes from coupling to the stronger field at the corners.
![Orbit around a cubic planet](https://cdn.statically.io/img/i.sstatic.net/ihRZn.png)
FIG. 6: Following from the previous figure except that the cube is now rotating faster with a 10
hour day, in order to increase the resonance with the 4.8 hour satellite orbit. We can see that with
this resonance the satellite rapidly acquires energy, colliding with the cube near the end of the 8th
orbit as shown. From the graph of energy gain, we can see that by the 8th orbit the satellite gains
nearly 17% more energy at perigee.
This is very different from orbits around spherical bodies, which are simple, non-precessing ellipses (for an isolated, two-body system).