If you check out YouTube you can find some freight trains that have to do that from time-to-time.
About a hundred years ago, when Toronto’s streetcar was implemented, they made their gauge slightly narrower than train gauge to prevent “trains” from running along streetcar tracks.
They pay for it to this day as it means new streetcars need to be designed for a gauge that nobody else uses.
Turning radii is also an issue. Possibly by design or not...