" I couldn't confirm this usage, albeit it sounds quite right to me, as "them doing that" figures as an object in the sentence. Being able to use the expression this way would surely make it a lot more of a no-brainer expression to me, which I would then have much less throuble squeezing into a sentence. In my opinion, this is a rhetorical and rather formal structure.
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.