I think that sounds like productive procrastion, it won an Ig-Nobel award. As you say, it's basically finding something you don't want to do even more than the thing you need to do, so you instead procrastinate productively by doing the needful.