Nope, you have to pick a CPU that is compatible with your motherboard. Laptops often do not have replaceable CPUs and GPUs though, you are generally locked into the hardware you started with, and even if it does you will be locked into the hardware options that were in its family so you won't have many choices.