https://en.m.wikipedia.org/wiki/Sacramento_Northern_Railway
The Sacramento Northern Railway (reporting mark SN) was a 183-mile (295 km) electric interurban railway that connected Chico in northern California with Oakland via the California capital, Sacramento. In its operation it ran directly on the streets of Oakland, Sacramento, Yuba City, Chico, and Woodland and ran interurban passenger service until 1941 and freight service into the 1960s.
I was hoping for that when the Coolsingel here in Rotterdam was redesigned. It fell short, unfortunately, as can be seen in a pic I took a couple years ago:
Car lanes halved to two but not removed. A tunnel would have been great here but likely too expensive to seriously consider.
They also went with non-grassy tracks which is kinda sad but maybe more appropriate considering high pedestrian volumes (and occasional rioting).