Fan for Bitcoin node

Hello can I program a shim fan using Umbrel OS instead of using PI OS as it should flash pi os into the pi 4 on instruction to program my fam?

Any help would be appreciated

Thanks

Gary