I've been contemplating writing a simple clicker macro to do this for me, which feels like maybe a useful UI integration would make more sense. Logs, Tar Kilns, Mulberry trees would all benefit from this. Possibly fishing too depending on the implementation. Considering how opening multiple cabinets works, it would make the most sense to open a stockpile and then have a small leashing range where it lets us begin an activity that can go into said stockpile.
I apologize profusely for this coming at the same time as the "infinite stockpiles for everything" resurfacing. The number of troll suggestions is getting kind of ridiculous in the last week.