What prevents you from killing the polling script and editing /etc/hosts back to its original state?

I think a modified Pi-hole would serve this purpose better, as it would leave no other option than getting out of your chair and taking action (assuming you made it impossible to ssh into the device).