It is a good idea. SBB started to electify very early (1920s) because they never had a reliable access to oil (especially not in the war times) but lots of hydroelectric power.<p>Also there is a lot higher traffic densitiy in main lines in Europe which also justifies the cost for building and keeping the infrastructure.