Can we do boot level selections with foreman ( for example, to be able to programmatically enable or disable certain controllers before doing OS install on target hardware)

Greetings,
So I have been using foreman for a while for provisioning different bare metal serves and VM.

One interesting thing came to my mind while I was playing with it. Would it be possible to configure PCIe enablement with Foreman?
IE: to be able to programmatically enable or disable certain controllers before doing the OS installation on the target hardware. Overall question is, can we make BIOS level selections with Foreman.

I tried digging into it but could not find any lead. Any leads would be highly appreciated.

Thank you!