Maybe, but it's not as easy as it is in desktops.
You could theoretically find a motherboard from a higher-end version of the same laptop with a better chip to replace the one you have now, but the new motherboard may not be compatible with your current chassis.
You're better off buying a better laptop with the specs you want from the outset.