Yes, depending on the design and extent of the damage. Some charging ports are replaceable modules, while others are soldered directly to the motherboard and require board-level work. USB-C charging systems can also involve circuitry beyond the connector itself, so diagnosis is important when replacing the port alone does not resolve the problem.