It will work, Heatran wouldn't do damage to your substitute anyway. Also, Heatrqan probably wouldn't use fire blast knowing that its a 1/3 chance that it will be countered with flash fire and its also NVE
Source: Lanturn with Volt Absorb in a sub is same as Flash Fire. (I've been in this situation before)
**hope this helps! :D