CRM custom functions: Update fields cross module based on look-up field type

CRM custom functions: Update fields cross module based on look-up field type

Hi there, 
We are linking our products records with our contacts records using a look-up field between products and contacts module.

Is it possible to (via a custom function and workflow automation) update a field in the product record based on a value from the contact record associated to the product record via the lookup field?

Kind regards, 
Bo Thygesen