So you want to physically plug the phone in, to get Internet?
Maybe? Never tried. I know you can get USB-C to Ethernet adapters.
If the Ethernet is a modem, though, it probably only supports one device (I.e. only will provide one IP address). So you’d need a 2nd Ethernet port on the computer to turn it into a “router” - or - use the phone INSTEAD OF the computer.