If you're asking whether you can install and run software from some disk other than the system (C) drive, usually yes.
If you want to transfer a disk from another PC and run software that's installed on it, usually no. (The operating system on the new PC wouldn't "know" about the software installed on the added disk.)
Most software requires installation, which puts necessary information in the Windows Registry. There are exceptions, but they are fairly rare.