No. Dishwashers won't clean the insides of bottles because hardly any water will get in through the hole in the neck. If you want to use PBW to clean the bottles, soak them in a bucket, bathtub or sink. You could also use oxiclean or bleach in the same way. Whichever you use, you will need to give the bottles a really good rinse before sanitizing.
-a.