The Dornish aren’t reliant on trade for basic foodstuffs. Dorne “produces very good exports – exotic produce (olives, peppers, citrus fruits), wines, textiles (Dornish silks and satins), and fine horses,” and imports primarily fine manufactured goods, spices, and other luxuries from Essos.
So that strategy wouldn’t be very effective.
And keep in mind, at the time, Aegon was setting the country on fire from one end to the other, which would probably do more to starve them out than a blockade.