The definition of a solar system is a collection of celestial bodies that orbit a star or stellar remnant. In a typical solar system like our own, the central star, in this case, the Sun, is orbited by various objects, including planets, moons, asteroids, comets, and other smaller bodies. These objects are bound to the central star through gravitational attraction.
It is important to note that a solar system is a specific term used to describe the organization of celestial bodies around a star. If there are no stars or stellar remnants present, the term "solar system" wouldn't be applicable.
On a larger scale, the term "galaxy" is used to describe a collection of stars, stellar remnants, gas, dust, and other celestial bodies bound together by gravity. Our own solar system is part of the Milky Way galaxy, which is just one of billions of galaxies in the universe.
So, a solar system without any stars or galaxies would not be possible, as the presence of a central star or a galactic structure is a defining characteristic of a solar system. Without a star or galaxy, the objects in question would not be considered a solar system but rather individual celestial bodies or perhaps a collection of objects with no specific designation.