Yes! Lightsabers are just toys; they can do any real damage to the plane, so they are allowed. But you aren’t allowed to play with them; they can only stay in your luggage during the flight.