No, Just Dance 2 isn't playable online.
It's a local, motion-based game meant to be enjoyed in the same room on your console, rather than over an internet connection with others.