You mean to say "can a vehicle change gears from 5th to reverse on it's own while moving?" I have never heard any car doing so. You could do it yourself though.
This is what would happen:
If it's a manual transmission car: if the car is moving in 5th gear, you won't be able to slot the lever...