Yes, with a generic <Task> you can use the drools:taskName="<your type name here>" attribute and then when you register your work item handler registerWorkItemHandler("<your type name here>", servicetaskworkitemhandlergoeshere). This attribute is generated automatically by the Process Designer if you fill the TaskName attr in the palete.
Cheers