It’s true that tram tracks present a hazard to cyclists. Nevertheless in tram cites cycling generally increases because so many cars are taken off the roads. Because trams are large, bikes can easily be put inside. In Kassel, cyclists use the tram to get up the hills as a sort of ski-lift. (See below)
We have seen cyclists cycling nonchalantly no-handed between tram tracks in Graz.
The trick is to be aware of the tracks and not to cross at a shallow angle. The Croydon cyclist in the video grab below is actually crossing the tram track. It’s probably staged, but it shows it is not that difficult.