Run fmriprep confounds workflow

Is it possible to run the fmriprep workflow that calculates the confounds? I know that the code is available here, but I’m not sure if it can be used outside fmriprep. The idea was to run fmriprep and then use the confounds workflow on subsequent denoised data. Is this possible?
Thanks!