If you add a pre-existing computers hard drive to your computer can you still view the pre-existing hard drives files?

Yes you can. Some files will have security on them like the previous computers User Accounts, and you may not be able to move, edit, delete those files.

This is actually a good way to run virus scans on a computer that isn't booting. :)