The problem with this is the hedge funds bought the railroads in the last 20 years. And they have been dumping truck trailer hauling, as its low profit. CSX, for example, discontinued 327 intermodal routes in 2019 alone.
The railroads have this thing callee Precision Scheduled Railroading (PSR) which really means higher profits, less service.
CSX discontinued all intermodal service to and from Baltimore, for example. Baltimore is port, where containers come and go. Instead, all Eastbound truck containers only go to Chambersburg PA, and then they have to be trucked to Baltimore. And vice versa westbound. So it costs shippers and consumers more. This sort of thing has been happening all over the country.
It would be easier.
But the railroads would rather do simpler, higher profit freight.