In addition to Opera GX, Microsoft Edge now supports this feature (Settings > System and Performance > Performance > Resource Controls along with a setting to only make it apply when gaming or always.
Looking forward to seeing this in Firefox (or LibreWolf / Floorp / etc) soon, hopefully!
I really don't want to use a non-Firefox browser because I want to keep uBlock Origin.