yes, but croatia had a separate national parliament, a viceroy, autonomy and a passport. just as hungary was not part of austria, croatia was not part of hungary either.   the point is that it is pointless to associate the serbian name with dalmatia, and porphyrogenet himself mentions duklja separately. after all, there are also titles: croatian princes and kings bore the titles of princes/kings of dalmatia.
Croatia