There is a enumeration field available to group URL categories. We are able to add URL category after sync up email content.
Is there any possibility to add category when the link was added in AEM or through Personlization block.
You need to explicitly add the category for the deliveries synced from AEM.
You can detect the URLs from the content editor in the delivery and then change the category from there.