The soap and water mixture you use to wash your dishes should not be confused with actual disinfectant. Disinfectants are a liquid or chemical substance used to kill microorganisms. Soap and water is helpful in removing some bacteria and food residue from the surface of a dish—it does not actively kill all types of bacteria or viruses.
Yes, some dishwashers have a sanitize setting which effectively heats dishes at higher temperatures for longer periods of time to reduce the number of microorganisms.
Source: https://kitchenbuds.com/dishwashing/is-washing-dishes-with-bleach-safe/