If you feel courageous, you can try to build and run Gramps 5.2 from source, and then install it if you’re happy with the results. Directions are in the INSTALL file, and you need to add one option to the install command as mentioned in this thread:
I did that on LMDE 6, which is based on Debian 12.