That’s the way it’s been moved for years but yes, a pipe spills 40 times less oil than trains and trucks. Also trains and trucks run right alongside rivers often and for many miles at a time, pipes rarely do.
Pipelines, which also don’t use fuel to move product, are much more environmentally friendly than trains and trucks.
A while back the libs were screaming about this one pipeline like it was the first of it’s kind. Take a look at a map of existing pipelines in this country. It looks like a bowl of spaghetti.