This "might’ work though with the on off shim.
The first overlay gpio-shutdown will have the Pi shutdown if GPIO 17 is grounded. That happens when you push the button on the on off shim.
The second gpio-poweroff overlay will pull GPIO 4 low and hold it low when the Pi does its very final shutdown. Thats the signal to the on off shim to cut power.
Add these two lines to your config.txt file, if it exists and see what happens.