I've never tried using a heat gun on a guitar, but having used it on window frames etc, I wouldn't!
You always end up burning the wood in places, and taking chips out of it. And there are always stubborn bits where the paint won't completely come off.