Entirely possible in fact given the general planet formation there should be several hundred in our galaxy alone. Let's say it forms close to the star all the lighter non metal gasses are hence either burnt away or go into the atmosphere. Likely is the word, if not common.
You only need to look at our planet and say what if we were as close or closer than mercury to say, yep probably be mostly metal. Iron is common because it is stable, as would gold be for the same reason, although rarer, obviously because of it's atomic make up.
Some stars are nothing but a mass of spinning iron with a few other elements, being the children of multiple heavy metal deaths of stars. Over time it should be entirely possible for a heavy metal star which is mostly metal, which is surrounded by nothing but 100% metal planets to form. It is extremely unlikely but given there are 4 quadrillion (400000000000000000000000) estimated stars in the visible universe, and the universe is ~ 13.82 billion years old, it should have already happened probability speaking.
I so want to make a joke about Motorhead but meh.