Is there any way to implement 2D motion graphics for UI?

Flipbook should do the trick:

It is a bit more work than just hooking up an animation itself but it's quite elegant in the end. You export frames, stitch them into an atlas, make them into a material and then can apply them to anything, including widgets.