Camunda dynamic workflow changing

Hey I’m looking for a way adding and removing sequential tasks on runtime, both for when tokens are placed on activities and future activities.

Is there any common practice around this kind of problem / requirement?

Thanks