Gaming mode automations

Hey guys, as I understand the new Sonoma's gaming mode can only be activated automatically when you enter a full screen playing a game. I am wondering, isn't there a way to force launch it? Maybe an apple script of but trigger? I am working in 3d tools and it would be great to squeeze some extra juice from my Mac.