Charge LiPo battery with protection directly through dev board
No, don't. A BMS is not a charger.

A BMS can't limit the charging current, let alone provide a constant current for the CC charging stage, it can only stop charging altogether when the current is too high;

It doesn't terminate the charging properly, but, at best, keeps the battery floating indefinitely at its maximum voltage;

Maximum voltage on many BMSes is set at just over the maximum recommended voltage for charging, and this will overcharge the battery;

Etc.


Even if you get away with it (as in &quot;no immediate fireworks&quot;), it will seriously limit the cycle life of the battery, and possibly not charge it at all if you don't limit the charging current.
Also, your ESP is 3.3V, and you can't charge LiPo with that, and simply connecting a 5V voltage source from the USB to a LiPo battery is not a good idea, BMS or not.
There are plenty of cheap ICs and modules (with USB on their input side) around for charging LiPo batteries; you should use one of those. The BMS is there as a last-ditch protection when things go wrong.