Depends on the terrain. Where high mountains or sea is in the way, the costs of bridging/tunneling through them might be prohibitive.
I don't think I will ever see a competitive train connection between, say, Krakow and Budapest. The Slovak terrain in between is just unforgiving, and the lowland route around it through Ostrava too long.
Also the NIMBY problem. England would be perfect for high-speed rail, but local NIMBYs weaponized environmental legislation to the degree that a super-expensive structure must be built to protect bats that may not even live in that location. [1] Add several things like that and the project is no longer feasible.