In 1995 with Windows 95, the introduction of "the registry", shared dlls, and more make such moved problematic to nearly impossible.

It's why its very important to maintain your collection of program install CDs, disks and of course, your data files.

The answer is No to most programs, Yes for data files.