Can I set features/options of the IDF like CONFIG_PM_ENABLE in PlatformIO?

I would like to get in the programming with the IDF-Framework of espressif. I hope, that I get more controll over the ESP32 (atleast I hope so).
I need to enable CONFIG_PM_ENABLE (Project Configuration - ESP32 - — ESP-IDF Programming Guide latest documentation) to be able to use the powermanagment.

Is there a way which I can use to do that in PlatformIO?

Many thanks in advance.

I may found the solution there is an option in Project Tasks->Platform->Run Menuconfig where I have the option to enable Powermanagment.
But I am still not able to use the powermanagement or did I used it wrong?
( I am trying to configure the clockspeed with this: Power Management - ESP32 - — ESP-IDF Programming Guide latest documentation)

It seems it just needed some time to adjust and instead of using esp_pm_config_esp32 I had to use the struct esp_pm_config_esp32s3_t