Yes, I've been led to believe that Iran's navy has taken heavy losses, but I'm asking. Does Iran have this capability?
In terms of raw capabilities and ability to actually damage these cables as an entity. Yes they have them today, they don't need special naval craft for such an endeavor, you can drag a hook behind any vessel large enough for the conditions and damage the cables repeatedly. This has been happening in other parts of the globe for some time, with Russia using cargo ships, I believe. Other parties could try and prevent this, possibly with some success but it would either involve sinking those vessels at a distance (hope they're right about what those vessels are doing), or putting your own assets in danger of missile or drone strikes.