I think if we could, we wouldn't need to. A ringworld has most of the downsides of living on a planetary surface plus many more. For the same investment in materials and energy you could build a fleet of orbiting habitats that wouldn't be vulnerable to the kind of centralized threats a ringworld would be.