Passive Periphrastic in Indirect Statements

Can you render a sentence as an indirect statement when the statement uses the passive periphrastic? For example, would:

Carthago delenda est

be rendered as:

Vir dixit Carthago delenda esse (?)

Thanks,

David

You need to put the indirect statement in accusative and infinitive…