Thanks for the replies.
I think it can be possible for a USB-C hub with a power adapter to also charge a laptop which uses a USB-C port to charge a laptop, so using a USB-C hub with a powered adapter can also charge a laptop with 60 watts of power, so you won't lose battery life.
There is a LG monitor with a built-in USB-C hub on the monitor which can charge 3 devices plug into empty USB-C ports, and also charge an Apple Macbook which is plug into the USB-C port of the laptop. The Macbook uses USB-C for both power, data transfer, and external video output.
LG made a USB-C monitor called the LG UltraFine 4K Display for the Apple Macbook which can charge a laptop via USB-C while it is connected to the laptop for displaying video, and it has 3 USB-C ports for charging and plugging in USB-C accessories like USB flash drives according to
LG UltraFine 4K Display
But, using a USB-C monitor to charge a laptop, and to charge or power other USB-C devices plug into the hub is expensive, and may only be worth it if you need a USB-C monitor for an Apple Macbook, and a USB-C hub.