It will be hard to implement since the "smallest tracking unit" is activity - a website or a window. I also can't see how to implement it without making everything too complex (the app's UX is too complex already in my opinion).
You can try to use a different browser since domains are bound to browsers. Like using productive Twitter in Safari and distracting Twitter in Opera.