Hi! As long as your game can still be classified as a visual novel, you're totally allowed to have RPG elements. If you're unsure, ask yourself if the game would still be fully playable if all the text was to be removed. If the answer is no, then you're most likely good to go.