Mh that should definitely work, I use it all the time to remap e.g. Logitech buttons.
One restriction: it will not work if another app has taken exclusive lock /control over the keyboard (e.g. Karabiner Elements)
This is because then BTT needs to fall back to the higher level system API's, which don't allow to get the keyboard type.