Is it possible to have conditional merge fields?

Yes. For example say you want a merge field which would say ‘his’ or ‘her’ depending on the person’s gender. As shown in the image below you can create a column called ‘Gender (Logic)’ and enter your condition in the formula field. Then use the *|Gender (Logic)|* merge field in your document template.