That would be good in theory but might not be so good, interesting thoughts on the subject from Computerphile - Why Asimov's Laws of Robotics Don't Work - https://www.youtube.com/watch?v=7PKx3kS7f4A
Wasn't that the entire, combined plot for the book I Robot?
That the three rules don't always work?
It's the combined plot for pretty much every Asimov book they appear in. That's discussed in the linked video, as well as the grand picture of why they don't really make sense as "laws" since they're basically impossible to define without first defining all of ethics.