IF you mean an external drive or somehow hooking your PS3 to your PC no, you can't install games on an external drive like that. You can however use a laptop 2.5" HDD and replace the physical HDD inside the PS3 (you can backup and restore your current saves to keep all your stuff too).
See this question for a bit more info on the HDD type you need Internal PS3 HDD ReplacementInternal PS3 HDD Replacement