Do you have a torch hot enough to make that pipe red hot?
I would remove the pipe, find something that would reach inside from the engine side with a smooth end on it. Maybe a tire spoon, anything strong and rounded. Then start heating the dent around the edge and push the dent out from inside.
OR seal one end, put air pressure in the other end and heat the dent until it looks smooth.