That’s what SAE L3/L4/L4 autonomous driving systems are about. The car takes full responsibility for a given set of conditions (ODD).