It was only really open to ease the transition between intel and arm.
You can’t have a development machine locked down like iOS. As long as the Mac is the development machine at apple it will need to be able to run arbitrary code.
But they'll remove support for other OS's