Yeah, but only if it is flowing across the deposit.
If you do the "bare minimum 140f once a day" method, you have to flush all the hot lines with this for long enough to kill it.
All this also presumes correct thermostatic calibration and generally even temperature distribution in a system planned to age with minimal maintenance.
The process isn't instant, you also have to ensure the hot water hits all the lines down the way at the appropriate hold temp and, well, hold it there for long enough.
These outbreaks still occur today. Not a huge problem, but why design such a well controlled hazard back into your potable water?