Softpwm with automat ?

Hello,
Do you know if it is possible to use softpwm library with automat ?
https://www.arduino.cc/reference/en/libraries/softpwm/
Thank you!
Stéphane