esgle, what you are asking already basically exist as factorissimo, if you dont care for ups and dont mind needing to manually place the blueprints inside the modules. It even allows you to place modules inside modules.
@Daniel Are miners/oil pumps/offshore pumps currently allowed in a module? From my point of view, the ideal answer would be no/no/yes. As the miners and oil pumps interact with the ressource fields, which is not easy to copy and the offshore pump doesnt interact with anything and would allow e.g. nuclear power plants inside.