Charging phone while 'hot'?

I remember hearing that if you’re using it while it’s charging that there’s a risk of it blowing up