From this comment:
To connect an external display, I now have to wiggle the cable around,
then pull it out a few millimeters until the contacts are lined up
A physical port repair/replacement can be done at a reasonable cost; most of the time at a price far less expensive than a logic board replacement. In fact the price for the component is extremely inexpensive (USB-C PCB Surface Mount Connector). What you will be paying for is the labor - typically $100 to $200 on eBay
While this is something that can be done at home, I must stress this is not a typical DIY type procedure. You need some rework skills.
The picture below shows a typical USB connector with a damaged solder pad, this is an easy fix and all that needs to be done is to resolder this connection. This assumes of course that the connector itself is still good that the solder joint is faulty.
If the connector itself is bad (they are physical devices and are subject to wear and tear) it's not overly difficult to replace this. It invloves removing the old connector and replacing it with a new connector
Can this be done? Absolutely?
Is it DIY? If you have the soldering skills.
Do you need a new logic board? No, you can have it done
Is it expensive? No. The component is super cheap and the labor is quite reasonable compared to a new logic board.