Coincidentally, I bought an ESP32 (ESP-WROOM-32 Rev1)[0] last month, and have a bluetooth toothbrush and a couple of Amazon Smart Plugs. I guess you could make your own brushing compliance system with an alarm, and add a camera plus CV to detect an absence of motion to prevent basic cheating.
0. https://www.ebay.com/itm/262809348271 It's probably not the best or cheapest available.