That's not how mines work. They don't only explode on people you want them to explode on.
And as another commenter noted, mines get moved by currents, so the cable could get tangled and snap.
According to guys in the know, they have quite the hardware:
You have to be mindful of enemy tampering, but overal I would say the idea's worth investigating.
On an unrelated note, I was also thinking of using fiber optic drones to rapidly set up an unjammable communications network on the battlefield. Surely that would be useful for something?
$130,000 a pop in 1980s money, probably even cheaper if you have trade inroads with China and a bunch of 533mm torpedos sitting around in storage.