The UK and Irish governments are to appoint an independent expert to see if there is merit to the idea.