I haven't tried this as I don't have a SIM card "dongle" (USB modem), but I doubt it would work. At least I haven't read anywhere that it would work, I think the USB ports are more for printer connection or something like that. Maybe buy a 5g router? (Be careful with the term "5G" because there is a risk of confusion with 5 Gigabit Ethernet port? maybe search with the term LTE router or similar). Here is an example:
TP-Link TL-MR6400 (Link is only an example, but I don't like this brand very much, you can consider different products from different manufacturers and then choose the model that best suits your needs. What do you want to do, what is important to you?)