It is possible to define a workflow, that accepts text files as input. The default encoding is UTF-8.
You need to convert the input text file into a spooled file, if you want to use a text file as input for a merge with a template.
You can do that with the basic workflow component, Text to SPLF.