Random encounters are a staple of Japanese rpgs, not rpgs in general (and also not all jrpgs have them). There are a plethora of rpgs without them! You will more likely see enemies on screen, and good rpgs allow you options to resolve things without combat (with some exceptions, like certain monsters).