Those cities already feel close enough together. More to the point, I don’t think Switzerland probably wants the kind of growth that HSR would enable and encourage.
The necessary tunnels for Basel would probably cost less than this:
https://en.wikipedia.org/wiki/Gotthard_Base_Tunnel
But Bern<>Zurich is the SBB's bottleneck.