Platform power management as part of deployment

Is there any way we can enable platform power management as part of deployment.
I am looking for something like PM-QOS which more dynamic, Are hardware power management features causing latency spikes in my application? - Red Hat Customer Portal.
Can containerized code can enable this? or do we need to run any platform script to do this.

Dynamic power management is far more flexible than boot time options.