Here is a link to a post with further information about different HATs for Raspberry Pi 5 that I have tested.
How to connect a Hailo-8 to the Raspberry Pi 5