I had both knees reconstructed last year (far worse than knee replacement) and took oxycodone for a year. I tapered sensibly and came out of it ok. In that year I probably did "abuse" them on a couple occasions because they can make you feel good. I recommend mentally preparing yourself, taking as few as possible for the shortest period of time possible. If you are able to do that, I think you should be fine.