If the CPUs are different sockets, no. Even if they are the same socket, laptop CPU support is controlled by the BIOS as much as the physical socket so even if it fits, it may not work.
You need to look up your model and see if it was offered with different CPUs.