No, prayer wouldn't affect the dice rolls or what numbers you can re-roll.
Rolling 5d6 and keeping only 2-5 results in a roughly 60% chance of success (getting all four desired numbers). However, adding prayer wouldn't alter the odds or introduce new re-roll options.
The game mechanics you described seem specific
omegle to a certain game or system. It's important to refer to the official rules for clarification on prayer's effects and re-rolling mechanics.