1. From a business perspective
It's simply a promotion. The company is offering a surprise gift to entice customers to buy. The customer will pay more hoping for a better gift.
2. From a legal perspective
It's legal. If the costume price is normal and the gift is clearly presented as a free bonus, there's no problem. The customer pays what they should and receives an extra.