That is a fascinating question due to the fact that planetary orbits have both absolute and relative spacing.
The absolute spacing between planetary orbits is the number of kilometers that the semi major axis of the orbit of the outer planet exceeds the semi major axis of the orbit of the inner planet by.
The relative spacing is the ratio between the semi-major axis of the two orbits, one orbital radius divided by the other.
So is the minimum possible space between planetary orbits determined by absolute spacing or by relative spacing, or maybe determined by a complex formula which might include both relative and absolute spacing as well as other factors?
Astronomers have been trying to calculate factors which affect the stability of the orbits of planets, moons, comets, asteroids, etc. for many decades, more than a century, and no doubts there have been calculations about the minimum possible stable distances between orbits.
Here is a link to an online copy of Habitable Planets for Man, Stephen H. Dole, 1964. 2007, which attempts to calculate the percentage of stars with planets habitable for humans:
https://www.rand.org/content/dam/rand/pubs/commercial_books/2007/RAND_CB179-1.pdf[1]
On pages 49 and 52 Dole discusses the forbidden regions around the orbit of each planet in our solar system where another planet could not have a stable orbit, according to calculations on the restricted three body problem.
Dole notes that the solar system consists of about 50 percent forbidden regions and 50 percent empty regions.
So going by the data in Dole's discussion, it seems possible that in a system where the planets orbited with their forbidden regions almost touching, there might possibly be zero, one, two, three, or four planets within the circumstellar habitable zone. Depending in large part on how wide the circumstellar habitable zone of the star was.
The way to calculate the size of a star's circumstellar habitable zone is to take the size of the Sun's circumstellar habitable zone and multiply it by the ratio of the star's luminosity to the Sun's luminosity.
Unfortunately, the size of the Sun's circumstellar habitable zone is not known. This chart gives several estimates of the inner or outer edges or both:
https://en.wikipedia.org/wiki/Circumstellar_habitable_zone#Solar_System_estimates[2]
Note the vast difference between the narrowest and the widest estimates.
Over 4,000 exoplanets have been discovered, some in systems with more than one exoplanet. There is a wide range in the spacing of planets in those systems.
My answer to this question:
https://worldbuilding.stackexchange.com/questions/151028/what-is-the-theoretical-maximum-number-of-habitable-planets-in-one-solar-system%5B1%5D[3]
Discusses the question of whether the spacing of planetary orbits is determned by the absolute distance between orbits or the relative distance ratio between orbits.
I point out that if the spacing of planetary orbits in the habitable zone of a star is determined by the absolute spaceing between orbits, there could be many planetary orbits if they were spaced as close together as the closest known examples, while if the spacing of planetary orbits in the habitable zone of a star determined by the relative spacing, the ratio of planetary orbits, there would be room for far fewer orbits.
I believe there could be room for no more than 6 planetary orbits in Kasting's optimistic habitable zone for the Sun if they were at the closest known relative spacing, but room for 518 or 519 planetary orbits if they were at the absolute spacing between Kepler-70 b and c.
Since Kepler-70 b and C might not exist, we could use the spacing between the orbits of TRAPPIST-1 f and g, 1,250,000 kilometers, as the minimum absolute spacing. Kasting's optimistic habitable zone for the Sun is 0.83 AU, or 124,16,232.7 kilometers wide, and thus would have space for 99.33 planetary orbits spaced 1,250,000 kilometers apart.
And there is a blog called PlanetPlanet about planetary formation. It has some sections about science fiction worlds.
It has a section called Ultimate Solar System with posts designing solar systems with successively more habitable planets.
https://planetplanet.net/the-ultimate-solar-system/[2]
And the more habitable planets there are in one of those solar systems, it less likely it would be for such a solar system to form naturally, and the more likely it would be that such a solar system would have been constructed or engineered by a highly advanced civilization.
So we can be pretty certain that systems like The Ultimate Retrograde Solar system, The Ultimate Engineered Solar System, The Black Hole Ultimate Solar System, and The Million Earth Solar System Would have been deliberately constructed by advanced civilizations.