The CPU in your laptop is soldered to the motherboard and would require specialty tools to swap, it's definitely not a DIY thing. In most cases it is not worth the expense to swap a soldered down CPU.
You would not be able to put a graphics card into the laptop but there are external adapters available (example:
http
/www.banggood.com/EXP-GDC-Laptop-External-PCI-E-Graphics-Card-p-934367.html ) that can allow a desktop graphics card to work with a laptop as this video describes,
https
/www.youtube.com/watch?v=bP_8EYQ-2RA it's not an ideal solution but it should work to improve gaming performance some.