>>53200001That is the idea yes, I'd imagine in the gym you'd have to do some sort of cooking minigame like a refinement of Poffins or something. Maybe depending on how you do with certain segments of making the dish will change the trainer teams for the following section;
e.g. in the baking phase if you undercook the dish then trainers will have Water-Type Pokemon, if you overcook the dish then trainers will have Fire-Type Pokemon.
Also if it wasn't obvious from the Gym TM, the battles would be Double, Triple and/or Rotation.