Here is a five year intensive study by Cornell University that shows that a partially liquid core plays a large role in (Mercury's) orbit.
I don't see that they address orbital relationships with cores. It is about spin. It's an interesting paper that shows Mercury likely formed much farther out then migrated inward. This is consistent with theories like the Grand Tack model where Jupiter migrated inward and wiped out the early planets, but then was pulled outward by Saturn, allowing new ones, fortunately for us, to form.
Core densities will alter their migration rate, in or out, due to angular momentum exchanges due to different rotation-revolution rates. But Mercury is tidally locked so I doubt there is much change in the orbit at this time.
Orbits and trajectories require energy or mass exchanges outside of itself. Spin is internal.