Being social, celebratory beings, Cybertronians often engage in dancing for the purposes of social events, recreation, or just because they are slaves to the music.
Unfortunately, having bulky bodies can occasionally limit ones movements, but the Transformers manage to get along.
Generation One cartoon
Jazz and Blaster were quite fond of dancing and song. When Blaster once broadcast music over Teletraan I at a concert, Jazz began to get down with his funky self. The other Autobots were nearly overcome with pain.
When the Autobots made peace with the Junkions with the universal greeting, both factions broke out in spontaneous dancing to celebrate. The festivities were ended when a Junkion kissed Grimlock, who immediately redeclared his status as "king".