In theory, but phones do soooo much with the NAND that I think it varies quite largely.
I've struggled to get more than 3-5 years out of my devices, and its seemed to be the NAND causing the failure in my limited experience
My galaxy S4 failed after two years and would go straight into firmware flashing mode when connected to a computer. Leading up to this, it was reallllyyyy slow. I eventually narrowed this down to the internal storage, and moved my apps to the SD card where things sped up again. It would also frequently reboot.
My Galaxy S5 (RIP 🤧) failed after a good 6 year run, now it goes straight to recovery with MMC_READ failed
sadly
On the opposite end of things I've got an old Android 4 tablet from 2013 that still works perfectly fine, although I don't really have any reason to use it, it's kinda just existing as a time capsule.