Yes, it’s okay to take soldering irons, and other devices that generate heat onto the plane, but only if approved by your airline, and only if the battery does not exceed 160Wh.
Items that generate extreme heat may present a serious risk to passengers, crew and the plane.
You will be asked to relinquish all dangerous or prohibited items found in your carry-on luggage. If you refuse:
AvSec x-ray bags going onto aircraft to ensure there is nothing dangerous in them. If something comes up on the x-ray that needs checking, the bag will be opened, searched and any dangerous good or prohibited item will be removed, with a bag search notification form left within the bag.