It works, though there are some minute differences in the timing on when you pick up the second half of your combo with 4D~D (I guess this has something to do with everyone's hitboxes?). Though generally, you want your C-mashing to start when you're level with your opponent in the air.
And if you know your opponent's not going to expect it, you can finish off that BnB with
> 4D~D (j.C)x5 j.(B+C)
instead of another (j.C)x5 to bump the damage to 3k+.