I have Intel i9-12900K and cpu frequency scaling works for me on Qubes 4.1 current-testing with kernel-latest.
When I change cpufreq governor to performance then I’m getting the maximum cpu frequency (5 GHz) and have the same performance as bare-metal debian in tests:
xenpm set-scaling-governor performance