Create scripted custom field for Initiative

We have hierachy
Initiative
Epic
Story
Subtask
We need to have an custom field for “Initiative Link” in Epics like we have for stories (Epic link in stories).

Create a custom field with a script where the custom field only allows Initiatives and where we can see all the epics that are linked in the Initiative

Is there is way to achieve this other than developing the add-on?