Can two teams shut each other out?

No, a team cannot be credited with a loss without another team being credited with a win, and a team cannot be credited with a win without another team being credited with a loss. In the case of a tie, each of the two teams is credited with one half of a win and one half of a loss.