There are special trains with measurement equipment on board, but yes, it sounds to me like every train should be equipped with some basic sensors for anomaly detection.
100 km/h is slow compared to passenger train (even non-high-speed ones). Depending on how packed the schedule is, it might not be possible to analyse track during the day without causing backups.