I'm sorry to hear that you and your dog are going through all this (but thanks for paying the appropriate tax - she's a cutie!). Any reason you can't just give her the pills in a glob of peanut butter, either all at once or one at a time? Does she find the pill and spit it out?
My first thought is that you need something to bind it all together. Maybe egg or psyllium husk or something? Or maybe you'll need to bake it for a short while to get it to hold and remove the moisture? I don't have a good answer for you, but you may want to cross-post to !baking@sh.itjust.works, !glutenfree@lemmy.world, or maybe !cooking@lemmy.world.
ETA: any reason they need to be shelf stable and you can't refrigerate or freeze them? This page has some good recipe options but they all require refrigeration. And this person uses coconut flour instead of oat, but also refrigerates them.

