Yes, if the game you're playing recommends more than 8GB of RAM. As soon as the game's requirements are met in terms of RAM, you will likely see minimal-to-no FPS increase. Therefore, playing with 32GB or 16GB of RAM on a 4GB game will lead to the same experience.