short answer - yes
long answer - all you need to do is check up the power need of the new cpu, make sure it doesnt generate more heat than your original one (or you will need advanced cooling), make sure it has same dimensions as the original, ask manufacturer for list of compatible cpu`s you can swap in your laptop
I personally changed my acer aspire 5742G cpu from i3 to i5 but 1st did all the steps i mentioned.
Ofc its another matter if it actualy worth spending money on new cpu when you can buy new laptop relatively cheap (unless its hardcore gaming laptop)
And as stated above my post - if its integrated you cant change it. Open your laptop or tell a tech guy to check it for you