As long as you let it cool slowly. Pouring water on it to cool it quickly makes it hard and brittle again. So let it air cool. Also, welding a broken bolt quickly heats the metal causing expansion differences between bolt and surrounding metal. So try loosening while warm and if it doesn’t let go, wait until it is all the way cold. heat expansion causes micro fractures in rust helping free it if that is another issue.
Remember vibration is the greatest cause to loosen stuck fasteners. Hence the Junker test. So i used to have a small(to fit tight places) air hammer just hammer on surrounding metal to add the vibration on difficult scenarios. Doing huge heavy equipment, it is common to have one mechanic running the impact gun while a second is hitting the area with a big air hammer- even seen full 90# jack hammer a couple times.