I would not advice to do so in early stage, cause will have a hard time doing profit. Later when production is higher this will work very well.
I’ve had success starting with a cargo train line versus a passenger one. I had a good close network of supplies, production and a city to consume the goods so it worked out well. It most cases where it is more widespread it may not be best to start with a cargo line.