My understanding is that energy efficiency requirements prevent this. Dishwashers have a fixed energy budget they are allowed to expend, which may not be enough to heat cold tap water up to the optimal cleaning temp.
And of course they'll be setups that use solar heating or are programmed to heat by time of day.
This is all down in the weeds though because a dishwasher does not use very much water.