You will note that I never ever said it can't be done. Heck, I used to be a telephony guy in my early career (Bell Labs). I would never say no to someone who is willing to pay for a fancy or even minimal service, specially back in those days when we had cost plus accounting.
I just said that it might need some special setup in sparsely populated areas where wireless service providers do not have much incentive to invest in the necessary infrastructure.
This problem really is peculiar to the US because of the way in which responsibilities are distributed. In many other countries railroads have their own network based on GSM technology called GSM-R, and is compatible with wireless telephony GSM protocols, so a few channels can be allocated on their GSM-R network to carry WiFi related signal from the trains. And needless to say, since it is a railroad network, it exists along all rail routes.
Again, notwithstanding everything else, of course it can be done. The issue is how much is one willing to pay for it.