Yes, teaching is allowed as part of training activities if written into the proposal training plan, but not an excessive amount. This is not the main scope of the fellowship. It can be part of the training, e.g. if the researcher envisions a career in academia. Ideally, this can be combined with a formalised didactics training.