The most lethal enemy of the tank was not another tank.
By percentage, of 1305 WWII tank losses by the British, these were due to:
- 24.4% SPG
- 22.7% AT gun
- 22.1% mines
- 14.5% tank
- 14.2% Bazooka (Panzerfaust, Panzerschreck)
- 2.1% other
While the computer game "tactic" you describe might or might not work against a single enemy tank, it doesn't remove the other dangers to your tank in a real battle, to the contrary.
Most importantly (as Santiago already pointed out), fighting in a city very much increases the threat of AT guns and infantry action (mines, Panzerfaust) due to the close quarters and quite limited vision from within a tank. The chances of two tank units engaging each other in city streets are quite low to begin with.
And your "tactic" would only work against a single Tiger (or similarily large tank), without backup or supporting infantry. Also, actually ramming an enemy tank would very likely result in your (lighter) tank being immobilized, not to mention injury of the crew. Also note that the gun barrel of the computer tank in your picture is dangerously close to being rendered inoperative due to smashing into the Tiger's side...
Could it work? Perhaps.
Would it make for a tactic worth "teaching", or "employing" to any significant extend? I don't think so.