Yes. just the way you would any other field. In fact, the Template builder will display your UD Fields too.
edit
here’s the Sales Order Combined template window. See how it shows my UD Fields?
(It even shows the description that was entered in UD Ext Column maintenance)