Many countries already have long-range drones designed to attack ships i.e. anti-ship missiles. They cost $1-2M a piece. It would still require a minimum of many direct hits to sink a modern aircraft carrier, as commonly demonstrated for SINKEX.
The risk at the straights aren't drones but torpedoes and mines and attack boats.
Ask Ukraine, they've been sinking russian warships left and right, even in their own ports
Russia-Ukraine war is different since there are many more drones and neither side has air superiority. Also most of those kills were done by missiles or sea drones, not the shahed drones Iran has that costs 20k.