No, installing a program involves more than just installing the core program. There are also accompanying registry changes that may be needed to work.
It theoretically may be fine for some programs, but don't expect to install something like Microsoft Office in the manner you're thinking of.