Can an iPhone explode if it is left charging too long, or is that a myth?
It's mostly fake news. Every smartphone has circuitry that keeps the battery from being overcharged or undercharged. Only a rare defective battery might swell or fail. I leave my iPhones plugged in as much as I can and have never had a problem. Do stick with Apple-certified chargers and cables, though.