No cheat code exists to make CJ dance in GTA San Andreas on PS2.
Console modding is extremely difficult. These movement cheats create entertaining effects without actual dancing.