Hi @rois33
I am not sure but maybe check this app, and contact the developer to see if it can help in your case.
It says you can connect customers by tags or product purchases. Also, check the Mechanic app
https://apps.shopify.com/mechanic?ref=lightward&utm_source=mechanic&utm_campaign=task-library
It gives a lot of automation for different tasks, for example, this
https://tasks.mechanic.dev/auto-tag-customers-upon-product-purchase
auto-tag customers when they purchase a matching product.
Not sure if this is exactly what you need but you can test and see if it covers your workflow.