Changing task_runner in prefect deployment

Is there a way to change the task_runner within a prefect deployment?

It seems to me that non, I tried with

deployment_main_flow = Deployment.build_from_flow(
            flow=main_flow.with_options(name=config.main_flow),
            apply=True,
        )

I succeed only to change flow name on deployment.

Solution to my problem was posted here:

Permanent fix: