Yes, that's how the US legal system works.
Each stage in a legal dispute has its own rules specifying benefit of the doubt as the arguing parties prepare their best arguments and present them to judges.
These practices have emerged from centuries of application, as societies around the world have figured out the best ways to conduct trials.