Jb might, but the proper way to fix it is to either:
- Cut that section of the pipe out and either fix it from the inside or graft in a new section, or
- You can use a slide hammer to pull the majority of the dent out, then fill in and grind down the area with welding rod (or just skip to fill and grind if they are small).
I think the reason you see so many mashed pipes on bikes is that there really isn't any good way to fix what you are talking about.