The following page explains offline installation: https://docs.python.org/dev/using/windows.html#offline-installs
From what I can see, offline installation with the installer seems a bit more involved than offline package installation, but Python does provide a method where you can acquire the necessary resources on a machine with internet access and then install them on offline machines.
There is also information about MSI packages (for cases where MSIX installation is not possible), for example in section 4.1.10.