The only way to pull this of is, ARM the company has to design
* Easy to use
* Simple
* Well performing
* Feature-rich,
in other words, very good peripherals, and then license them to manufacturers such as ST at affordable enough price. Only this will make it happen.
The same is true for the cores itself. It's not that ST or NXP etc. actually want you to easily port between different manufacturers. No, the only reason they use ARM ecosystem is that it's good. Own proprietary solutions would take more time-to-market and still likely perform worse. Writing compilers especially is a lot of work!
The compatibility thing is just a side effect. Possibly even unwanted one to some of the managers at these companies!
Any peripheral compatibility attempt which looks like it's made by a committee for compatibility reasons, is doomed to fail. The only thing that matters is good set of good peripherals, and manufacturers know that.