Run custom script with BPM

Dear Sugar Club, 

We are slowly transitioning to version 12 Enterprise on-prem. We were a customer of SierraCRM, until they were no more. We still currently run their Process Manager module, however we would like to transition away from this module and utilise SugarBPM. 

A couple of our Process Manager processes trigger complex custom PHP scripts. I'm wondering if it is possible for SugarBPM to also run a script as an Action? 

Thanks in advance.