Why not use the laptop while charging?
The battery may become hot.
Battery cells may be damaged.
Backup time will decrease.
Laptop performance
will decrease.
The charger will not last long.
There may also be problems with the display.