I’ve ridden trains through much of what you describe, and there were also trucks, cars, and vans on the same ferries. It’s just a matter of cost - worth researching it through the road departments or tourist info for each country. You won’t be saving much money in Scandinavia - everything is expensive there!