Asset relationships can’t be automated as of now, you would be able to use APIs in order to achieve that. Please refer to the below documentation related to asset relationships APIs.

https://api.freshservice.com/#asset_relationship_attributes