I've seen a few that people have put together based on timetables and their country's open data feeds, but you are not going to get a full FR24 experience as trains don't broadcast their position on an open frequency like aircraft do.
realtime trains Traksy UK opentraintimes . com Raildar There's also Railcam which offers signal diagrams and train schedules (subscription content). Railcam only updates train locations at set waypoints.
I've found its fine to use. It's a weird one in that you need to keep zooming in on the map and I'm not sure how quickly it refreshes. Helps me and my buddy below when we fancy a trip out