There are two ways to upgrade a PS4 hard drive using a 3.5″ desktop hard drive. 1) Using the Nyko Data Bank 2) Using an external enclosure to power the hard drive, and running a SATA extension cable from the extension or hard drive to the PS4.
https://www.amazon.com/Toshiba-DT01ACA200-7200-Internal-Drive/dp/B009CPDI62