Basically, yes. The radius of the electron orbital is inversely proportional with electron's mass. So if you replace it with a 200x heavier muon, then all of the atoms will get 200x smaller, increasing density by factor of 200³. Actually, a bit more, even, because of the added mass of the muon.
In Bohr's atom, this is very easy to understand. The orbit is integer number of wavelengths, which fixes possible values of momentum, while the heavier particle in a particular orbit will have higher momentum. So the ground state, the lowest possible momentum and energy, is attained at much lower orbit for a heavier particle.
Of course, that's not actually how the electron or muon behaves in an atom, but this is how Bohr derived the radius and relationship, which just happened to be correct. The principle is similar, however. Muon will have higher momentum in an atom, and therefore, its orbitals will be smaller, giving you higher density as a result.