It is very problematic, e.g. how would you develop such a system? No city is going to allow you to break traffic laws to train an autonomous ambulance. At best you could make one for rural areas. I think the problem is probably AI-complete and would require human-like abilities of abstraction to train.