B.H.
Yes, you can put a cup of white vinegar upright in the top rack and run the dishwasher through a cycle. Before I do this, I usually take the racks out and de-gunk the drains & filters.
I've also done the 'nuke a cup of vinegar' in the microwave to clean it -- that one works really well! The burnt on gunk just wipes right up. Stinks though!