No, they are not socket compatible. Even if they were, you would have to contact the manufacturer of your PC and ask them which processors were compatible with their BIOS.
An upgrade processor must be socket, BIOS, and chipset compatible.
You should read this: Intel® Desktop Processor Upgrade Information
Thank you very much to Al Hill for the information provided above.
Thank you very much for joining the Intel® processors communities.
To confirm the information above, you will not be able to upgrade the processor using the same motherboard, since the sockets are not the same and the processor will not be fully compatible with the board. Just in case, on the following link you will be able to find the list of compatible boards for the Intel® i7-6700K, remember that it is always better to check with the manufacturer of them to make sure they will work with the processor:
Any further questions, please let me know.