They might not be meant for it, but could be employed in that role. Their ability to carry potentially larger Anti-Ship Cruise missiles or Ballistic missiles, might make them better suited, then any other aircraft in the PAF inventory, should push come to shove.
The first is a photoshopped picture, but something like this. The YJ-12 is one option.
View attachment 10842
View attachment 10844
According to the Pakistan Ministry of Defence Production’s disclosure for 2017-2018, the Directorate General of Munitions Production (DGMP) signed-off on the local development of a supersonic missile for the Pakistan Navy.
quwa.org
At Air Show China, which took place in Zhuhai last week, China Aerospace Science & Industry Corporation (CASC) had marketed a new supersonic…
quwa.org
The PAF may need this platform, down the line, perhaps with a more power engine to be able to carry a pair of Hypersonic cruise missiles with enough range to effectively keep Indian carrier battle groups at bay.
https://mwi.westpoint.edu/mwi-podcast-breaking-down-the-hypersonic-missile-threat/