I've used Time Machine to restore my iMac when I had an idiot no-no moment on my computer.
You only issue with multiple computers is each would need a drive to back up to. I have read people setting Time Machine up on a shared network drive to. But, I do not have any experience with that.