Am I stupid or could WPE "simply" had a clone/copy/mirror of the necessary WP.org things? eg: how Linode has for Debian mirrors?
Even better: just proxy the requests up to WP.org through GCP/AWS.
Even better: just proxy the requests up to WP.org through GCP/AWS.