Not quite. If the Allies prosecuted German pilots and their commanders for, say, strategic bombing of London - including civilian targets - then yes, it would have been a sham. But they weren't, precisely because the Allies did it too. So the atrocities people were prosecuted for at Nuremberg was stuff like shooting surrendered prisoners, or deliberately executing civilians in controlled areas.