Interoceanic train could compete with the Panama Canal

Could an interoceanic train transform global trade and compete with the Panama Canal?