There are plenty of moons/planets with life and interesting things to see, but yes there are a lot of “barren” moons and whatnot. The game tells you what to expect when you click on a given object. It will tell you if there are flora and fauna, what the temperature is, what minerals to expect, that kind of thing. From what I can tell there is almost always some sort of structures/bases on the planets as well.