Is it possible that all dark matter is made of rogue planets (free-floating planet)? (and other stuff like asteroids or meteoroids)
First of all I'll start with a few ideas:
Now, how do we know that dark matter is present in the universe?
Astronomers measure the gravitational pull of galaxies and galaxy groups/clusters based on how objects behave when interacting with these objects. Some examples of this include tidal gas/dust stripping, the orbit of stars in a galaxy and gravitational lensing of distant light from a large cluster. Using this they determine the mass of the galaxy (or galaxy group). We can also determine the mass of a galaxy or group by looking at it and adding up the mass of all the objects (like stars, dust, gas, black holes, and other baryonic matter). While these methods both give us approximations, it is clear that the gravitational mass of galaxies and groups exceeds the baryonic mass by a factor of 10-100.
When astrophysicists first found this phenomenon they had to come up with a plausible explanation, so they suggested that there is some new, invisible matter called dark matter. (Aside: some astrophysicists also came up with other explanations like modified gravity, but so far dark matter does the best job at explaining observations).
Okay, so now how do we know dark matter is not any sort of baryonic matter?
There are a few reasons astrophysicists know that it is extremely unlikely that dark matter is baryonic. First of all if all the stars in a galaxy shine on an object it heats up, this heat causes the release of radiation, called thermal radiation, and every (baryonic) object above zero kelvin (or -273.14 deg celcius) emits this radiation. However, dark matter does not emit any radiation at all (hence the name dark!)
If dark matter were baryonic it would also mean that it could become light emitting. If we got a clump of baryonic matter* and put it in space it would gravitationally contract, and would eventually form a star or black hole** - both of which we would be able to see.
So, because of these reasons the dark matter in galaxies and in galaxy groups/clusters cannot be baryonic, and so cannot be planets, dead stars, asteroids, etc. It would definetely not be planets as there is no way 10-100 times the mass of the stars in a galaxy would be planets, as the mechanism for making planets relies on supernovae, and the number of supernovae needed for the that many planets would be far too high to match our observations. I hope that this answered your question!
*provided the clump of baryonic matter was large, and the amount there is in galaxies definitely is!
** we don't observe black holes directly, but can see radiation from their accretion disks.