>There is / was a train design ...
Pendolino:
https://en.wikipedia.org/wiki/Pendolino
Up to 8-10° , i.e. 1.35 m/s^2 compensation https://it.wikipedia.org/wiki/Pendolino#Caratteristiche_gene...
Tilting trains are actually in wide use, see:
https://en.m.wikipedia.org/wiki/Tilting_train
Even the lates shinkansen transets do it to reach higher speed, especially on older parts of the track with sharper turns: https://en.m.wikipedia.org/wiki/N700_Series_Shinkansen
Mag-lev trains seem to reach 'around' the tracks, so that could work. Of course if the levitation stops in a corner (or anywhere, really) on that one it'll cause major damage.