Since it's easy to say that a lot is processed in the brain, your mind can recreate sensations and redirect them to the appropriate senses. I used to have two cats, who would unfortunately scratch me on occasion.
Around a week or two ago, I was scratched by a tiger in my dream, and I could feel the pain; the interesting thing was that it didn't feel like a cat scratch, my brain understood it was a big cat and magnified the pain.
Since the brain is in control, it seems like it is intelligent enough (weird to say a brain is intelligent) to recreate scenarios based on your own former experiences. However it should still be stated that in the end, this is all just recreation, therefore the chance of an oddity still exists.