That is exactly what I did with my dumb washing machine (and dishwasher).
Each has a ZigBee energy monitoring smart plug which is connected to a local Home Assistant instance. Spent an hour or two writing automations based on the power draw reported by the plugs and now I get push notifications that report whenever either machine finishes its cycle (including how long it took).
I use both. Pi-hole running in a docker container on one of my home servers which my gateway is configured to assign as the default DNS for all clients, and uBlock Origin on all my browsers to catch everything else.
Pihole is pretty good at catching ads on platforms that are not suited to browser based blockers (IoT devices, streaming boxes etc) but it isn’t perfect and is best used in conjunction with another solution.