Yes, exactly that. I stick them on the prongs on the lower shelf, and set the machine on the Eco cycle.
@Leon103, I was also dubious about how much water would get inside the bottle, but it seems to work brilliantly. Even the ones where I have accidentally left yeast dried into a crud inside...