Panama has a tiny railroad that follows the canal, if they thought this was a viable alternative they would expand it. I think they realize the labor cost on both ends would make this prohibitive + the time to unload and load up another ship would cause major bottlenecks.