In the Legends continuity, ancient alien technology consistently outranks the capabilities of the Human Republic (and later Imperial) populace. The Iokath species built a Dyson Sphere called Iokath thousands of years before the films, establishing that massive megastructures are indeed possible in Star Wars.