Ah, then yes, it's possible. It seems to work best if your dishwasher actually has a sanitize setting.
I make sure all my bottles are clean. Maybe I'm overly cautious, but I then clean the dishwasher (remove any food particles from the filter/trap and spray with Star San). Then I run the sanitize setting with the bottles and NO detergent. With the model dishwasher I have, this setting takes awhile to complete, so keep that in mind if you're trying to time it with when you bottle.