I had a look at this just a short time ago. There are a couple of things.
The Gimp flatpak because it is sandboxed uses a bespoke flatpak gimp_gmic_qt flatpak plugin, not the regular plugin. While there is one for Gimp 2.10.x there is no flatpak gmic for Gimp 2.99
-----------------
Want to use Gimp 2.10.32 in kubuntu 22.04 (I have just installed this in my old computer) **and** have python support for all those python plugins ? Get Gimp from the Panda Jim PPA and this appimage launcher
https://github.com/TasMania17/Gimp-Appi ... -for-Linux...and.. a 50 second animation of how it works
https://i.imgur.com/fWY3ezt.mp4 First a normal launch then using the appimage
Gmic works fine with the Panda Jim Gimp.