Chosen Solution

Can the port be replaced?? My son nocked over my Xbox One X and a small piece of the plastic that holds the Ethernet cable in is broken and will need to be replaced is this possible?

Yes, the port can be replaced. But I am not sure if the limited warranty would cover it but I do recommend you contact support to get it fixed seeing as ethernet is the most reliable way to connect to the internet.