The power supply in the HP 6000 Pro SFF is quite the proprietary device, it does not use a standard form factor nor standard connections. Here's what HP has to say " It is important to
note that HP business PC platforms have not followed the Intel ATX power supply
standard for many years." You would be able to replace it with an identical PSU (HP part #508152-001 or HP part # 508151-001) but upgrading, I don't think that's possible.
In theory you should be able to do what you want (I won't mention fitting another PSU, you can figure that) but you would need to discover* the voltages (which may not correspond to standard PSU voltages) of the inputs and hope a standard PSU can provide those voltages (it can't - see below)
* The...