How to configuring a BTT Smart Filament Monitor
Yes, a BTT Smart Filament Monitor can be used with the RepRapFirmware.
Connect it to an endstop pin. Configure it as below in config.g, changing the endstop pin name as required.
M591 D0 P7 C"zstopmax" L7 R75:125 E22 S1