No it isn't. I don't know what kind of infrastructure you work on but I can't just go installing python on prod servers whenever I want to be able to run some random script.
In Kubernetes, you can attach a debug container with Python to a running pod.
On VM's you can use pyenv for a local Python installation if you don't want to install it globally.
In Docker vanilla, you can run another container with Python that uses the same namespaces (ipc, pid, network) as your other running container without Python.
There are options. If your security team forbids Python for some reason, I would wonder why they are letting systems have bash/curl/etc on them.