I've previously tried to use do less goals (which I'm generally not a fan of) with tagtime (which I'm a huge fan of) to curb activities. In particular the amount of time I spend on Twitter.
Last time it didn't go so well (which is an understated way of saying I absolutely hated it), but I feel particularly strongly about staying off Twitter right now so I thought I'd give it another try.
Initial experience seems much more positive. Some of this might be motivation, but I think the big difference is that I've set the goal to be incredibly lenient: Don't spend more than an hour a day on Twitter (the fact that this turns out to even be at all hard reinforces the need for this goal I think).
This means that whenever I'm approaching the limits of the goal instead of going "Argh fuck you goal" my reaction is closer to "Whoops. Fair enough".
A thing that I think also helps is that the goal lies between two pings. My pings are set to 0.4 hours, so two pings means "David you should get off Twitter because you currently have a safety margin but the next ping will take you over it".
This has only been going for a few days now, so I'd give better than 50/50 odds that I'll grow to hate it, but I thought it was interesting that it at least wasn't obviously terrible, and that I'd post early to give me a place to record thoughts as this evolves, as I know that at least @dreev and @bee probably want to hear about how this goes. 
ETA: Also, just after starting this goal I got hooked on a new continuous partial attention game, so if it goes well and I don't lose patience with the game I might be trialling a second one of these goals...