Probably. But I'd like to know how it got there, from the swirling clouds of hydrogen that sort of clumped together to form the proto-planets I mean.
ML/NJ
From the millions of degrees of heat down there, heat turns hydrogen into iron, just ask Al “baby doc” Gore, it’s just releasing it’s inner Chakra........
They always have a supply of the heavier elements.
That stuff comes in the form of tiny dust particles in and amongst the gas clouds.
Eventually gravity pulls it back together; it all heats up; the dust particles melt from the heat of gravitational compaction; and suddenly it all settles out with most of the heaviest stuff at the bottom (uranium, gold, iron), and the lighter stuff at the top (silicon, carbon, nitrogen).
From that point on it just takes a bit of time to resettle more of these materials until you get a hard surface crust.
We get the rest of our iron and other heavy metals through collisions with smaller bodies ~ small planets, meteors, moons, space junk, and so on.
The planets weren't formed from 'swirling clouds of hydrogen'. If you are serious you can google and find some nice resources on star and planet formation. Really quite interesting.