That's absolutely not correct. There are real experiments to prove Special Relativity and it has been corroborated multiple times.
The train is only a way to explain it, not a thought experiment. Actually, some equivalent experiments to that are not just possible, but has been executed.