Most phones do!
Many mobile phones now have special charge protection chips,
It monitors the discharge of the phone in real time,
It's ok to charge while discharging.
But if you've been using your phone for a long time,
Aging circuits may also cause explosions,
So you'd better not play while charging,
After all, the safety of life can not be careless!