I use my Stream Deck primarily for OBS, but have also created a profile for Photo Mechanic. There I use it mainly to assign color classes while I'm zapping through photos in preview mode.
But buying it just for that is not worth it in my opinion. If you use Photo Mechanic regularly, you will soon know the most important 10 keyboard commands and will always be faster with it than with a device change when typing.