Only on recent hardware. My dad had an older iMac that was aged, but not unusable. He got a new iPhone, which required the newest version of iTunes, which further required an upgrade of the OS to 10.8, which was blocked because he didn't meet minimum system requirements.
It's free, but only after you pay for new hardware.