Yes you can make an ISO off one machine and use it in another machine. But you run into a massive problem when you use the OS on the new machine.
Windows KMS "key management system" registers the original machine where windows was installed as the legitimate source.
if you use that OS on the new machine, windows automatically detects it as a different machine and will deactivate its license. So you will have to reactive either by the way of a crack and bypass KMS, or painfully call microsoft (which you will get a crappy answer from them as always from their customer service) to reactivate the OS.
So I would prefer googling for a KMS bypass software rather than call MS.