Yes, price leadership is entirely legal. Companies' pricing strategies are covered under antitrust laws in many countries worldwide.