Custom Service Task

Is it possible to build custom service task? I would like to have custom service task that derived from service task, but I will by default configure listeners on them. Is this possible?