https://www.youtube.com/shorts/IIpoXRBjJ4A
Even a safety barrier of a meter or a few feet in height would prevent drunk or epileptic or fainting people from falling onto the tracks.
https://www.youtube.com/shorts/UCzef5fvOao
Of course an entire platform wall would even be safer and not just for jumpers.