Playing RPG games are good for students or any other people in such a way that these games can develop our strategic thinking as well as our management skills. There have been some studies that teenagers who play online multiplayer games are benefiting from personal development that does not occur in the real world.
And I guess this is true because I have so many friends who play games like WarCraft, Sims, StarCraft, etc and I can see that they have very analytic mind. They can figure things out easily and even pass in their school exams despite the fact that they are not studying very hard.
But of course, playing these kinds of games should be taken moderately. Just play whenever you have extra time and as much as possible engage in games after doing your homework or after you have studied your lesson. Playing should not exceed two hours a day or else, you will have difficulty managing your time.