Build all the plumbing into those walls.
Build all the wiring into those walls.
Build all the windows and doors and other openings into those walls.
Then try to put those walls together in a way that connects all the plumbing and all the wiring.
Now, let's look at the real world, at least here in the US.
Yes, there is a national electrical code that covers many parts that aspect, but lots of other codes vary on a city by city or even neighborhood by neighborhood basis. And your HOA can have some of their own codes that you're also required to honor.
How can you have a single central location that can build all those prefab walls according to all those different codes, and have them all pre-approved?
Your service life is also going to take a hit due to having a lot more of the most unreliable aspects in construction - a joint.
But if it's just the problem of connecting various kinds of pre-built conduit in lego-like walls, yes it would be a hard problem but it seems solvable in itself. Especially, you don't to have just fixed pieces. rather you can have pieces whose routining "logic" is adjustable after that fact (switch the flow of pipes from an internal panel of the wall). And you could have an app for verifying a given arrangement could work, before you ordered your "lego" set.
Is there no "one best way" that is compatible with all local codes?