That's pretty effective, more effective than blasting sections of track. Explosions leave small bits that can be replaced with a bit of work, but that spike could be set down for miles then lifted to continue the journey. It would be fast, easy, and a major pain to repair.