Hi,
Yes you can run python scripts.
You can define them in a instance of the Run Script Operator or just call them.
Example, this pam installation has python installed and added to path, so you can just create a simple test.py that prints python's version:
after execution: