Entries of different collections in relation field

Is to create json custom fileld that uses custom api to create a ‘config’ that allows to create an actual relation in lifecycle