Apple 20w fast charge is best not to play with the phone while charging, otherwise it is easy to increase the burden of the phone battery, because charging while playing the charge and discharge cycle is very fast, and it is easy to hurt the battery.
There is also the need to buy charging equipment produced by regular manufacturers, data lines to buy MFi certification, charging head to choose a regular chip, which is also good for battery health.
It can be played while charging, but it will cause damage to the opponent for a long time.