Very doubtful if this would actually work. Like you said, My thinking is that in order to heat the wine/air in the neck, usually the thickest part of the bottle, you first have to heat the glass. Once the wine comes into contact with the superheated glass, I would think that it would shatter due to thermal shock.
... But of course I will give it a try.