A driver needs to stop at a railroad crossing just like they do at a red light or stop sign. If a driver is ignoring any of these, I really don't see how an app is going to help.
Or conversely, if a crossing is somehow not well-marked on the road then that's deep negligence on the part of the transportation department and it needs to be fixed -- it has nothing to do with apps. (All the crossings I know have a closed gate and flashing lights, although I understand this might vary locally.)