Yes, generally. Dancing on tables is widely perceived as:
Exceptions: Rare, specific events (e.g., certain festivals, private parties, Coyote Ugly-style bars) where it is explicitly encouraged by the establishment.
Rule of Thumb: Unless you are certain it’s welcome, keep your feet on the floor.