Is it good practice to create tasks inside Custom Operator in Apache Airflow

Is it good practice to create tasks inside Custom Operator as well as Execute BashOperator commands.

So my idea is to just call Custom Operator in dag and that Operator takes care of all the tasks and as well as possible other Operators that do some action.

Because it seems that creating 50-60 tasks inside Dag is a bit silly ?