So.... i would say you can use winget called by powerhsell to install apps. Once you have the script you can load it in as an remediation.
Make sure that in your script you write a log file and use that as the detection for your remediation.