Short answer: yes.
There is a discussion @pimoroni about pin assignment: https://forums.pimoroni.com/t/fan-shim- ... held/10784
and also some GPIO library updates needed to switch the pullup/down correctly on pi4.
In github, there are some examples, also for the button.
Last, looking around on how to shutdown pi from python. One example is https://www.raspberrypi.org/forums/view ... p?t=133665