Yes, you can create IF and ELSE-IF style statements in Docmosis.
We call them Conditional Sections.
The syntax is:
<<cs_xxxx>> to start the IF statement
- content to be included/removed -
<<es_xxxx>> to close the IF statement.
The xxxx can use the built-in expressions processing, so long as the expression results in a true/false result.