I know that several people on OF have in the past developed projects that have involved, as part of their scope, randomly generating planetary systems (OrbiterGalaxy and Spaceway jump immediately to mind, both are defunct, as I recall).
I know that a lot of hobbyist code has used some variation...