I didn’t even hook the hot water up to my washing machine. Nobody died yet
In practice having the machine heat the water is usually a good choice because the machine already wants to take a set amount of water and heat it to a specific temperature (based on your chosen programme, silk knickers obviously do not want the hot water you use to clean cotton bedsheets after your youngest didn't wake up in time) whereas your hot water boiler just makes arbitrarily hot water forever.