broken exhaust stud removal

not sure if it's ok to do on a head but a great way to get a broken stud out is to heat it with s torch and touch beeswax to it. The heat will instantly suck the beeswax into the threads and the stud will come right out