Updating records in Template

Can you update fields in the data from within a template after the mapper or is this only available in workflow?

It’s available through any external application that can make use of the Connect REST API (including, obviously, Workflow). But not from the template itself.