No, the data group of an action or document template cannot be changed. This choice is fixed, because the settings of the template are related to this. It is always possible to create a new template on another data group. The 'old' template can be set to inactive.