Is Raspberry PI PoE HAT compatible with ROCK 4SE PoE pins?

It’s not compatible with the PoE header location, the signal is compatible. If you plug the RPi PoE on the 4 SE, you will find only two pins are matches, you need to manually connect the other two pins with cables.