Power off button with hat

I’m newbie in raspberry connections and that’s why I’d like to ask if I can use PIN 5 and 6 to connect power button to safely shutdown raspberry? I have Raspberry Pi 4G/LTE Cellular Modem Kit - Telit LE910C4-EU (EMEA)
I want to use this tutorial: https://howchoo.com/g/mwnlytk3zmm/how-to-add-a-power-button-to-your-raspberry-pi
My hat is connected to gpio pins and usb.
Can I use PIN5 (GPIO 3 SCL) and PIN6 (Ground) and this don’t break raspberry and hat?
Thank you


Those pins are free to be used.

Thank you for confirmation.