This device will work with both HDMI and Display ports at the same time, but your MacBook needs power. I'm using two 27" monitors on a 2019 MacBook, but I've noticed that when I turn off the MacBook, the monitors turn off. So if you're trying to run a multi-monitor setup, it should draw power through the Thunderbolt 3 port.
Enhanced HP USB-C/A Universal Dock G2 - Optimal for Seamless Connectivity (Part#: 5TW13AA#ABA)
11 Review
Docking Station OKX Display Ethernet
11 Review
Dell 452-BCYT D6000 Universal Dock in Black: A Hassle-free Single Solution
17 Review
12-in-1 USB C Docking Station: Dual Monitor, Triple Display, 4K HDMI, VGA, Gigabit Ethernet, SD/TF Card Reader - Compatible with MacBook/Surface/HP/Dell
11 Review