Yes, it exists. Barbie in the 12 Dancing Princesses was released as a game, and it turns up on second-hand marketplaces and budget PC game listings rather than as a current digital download.
If you find it offered as a free download, treat that with suspicion — the safest route for an older kids' title like this is a physical copy bought second-hand.