As far-fetched as it may seem, quirks of orbital mechanics could allow hundreds of planets to be packed around a star