Would it be possible to put a pcie switch on a carrier board?

On Xavier NX, it is 16Gbps per lane for gen4. You can get the info in Product Design Guide.