Yes, you could do this with a custom theme, but it would take several lines of code to implement. You would need to loop through the fields array, applying a conditional logic test, and rejecting all but reference. Please don’t ask how, as this is not a coding forum. If you don’t have the skills, hire a Liquid programmer to write the theme for you.