Show videos, animations or text in Mac's touchbar
This little snippet from Developer HIG indicates that animations are possible in the Touch Bar:

Avoid animation. The Touch Bar is an extension of the keyboard, and people don’t expect animation in their keyboard. In addition, excessive or gratuitous animation can distract people from their work.

https://developer.apple.com/design/human-interface-guidelines/macos/touch-bar/touch-bar-visual-design/