Not only can you format a hard drive on a differant computer, but I've even imaged a fully OS-loaded/MB-specific/hardware-setup-specific HD on a differant computer.
I had one computer without a DVD-burner, but I wanted the image on a DVD, so after getting the HD up and running I stuck it on a computer with a DVD-Burner and used a Norton Ghost floppy boot to image the drive onto DVD (the key is not to boot off a drive that is specific to another computer).
But YES, you can format a drive on a differant computer and then use it in another system.