You can probably make that happen with the QMK firmware: make the whole thing stop two hours after being plugged in. Or have a key sequence to restart the timer. (so that you don't have to unplug and plug it all the time)
That'd be an interesting feature honestly.