For that kind of game people usually go with RPG Maker, but that's Windows-only and expensive. Ren'Py is free and open source and can also work, but it would be better for a VN with RPG elements. Worth a try anyway.