> I doubt we are far from this.
I do doubt it. Apple has specifically been removing language runtime environments but doesn’t stop you from installing them. And as far as I know they’re on good terms with (at least) Homebrew. Stopping you from running Python—which they ship to /usr/bin/python3 as part of the free Developer Tools—would have consequences on your other binaries.
I was positively surprised when Shortcuts for macOS shipped with specific support for AppleScript and other language runtime environments. I was convinced they would just not do it as the feature is not available on Shortcuts for iOS and that they’d use that as a way to add another nail in AppleScript’s coffin. The fact they did ship the feature commits them to support it. Maybe not forever, but removing it would require a non-immediate deprecation.