I was on 4 endone tablets per day after surgery. After about 6 months, every time I stopped taking I felt nauseous. Realised there was some dependency. Stopped and it took a week before the nausea eventually went.
Recently was on 30mg Codine (with paracetamol) to try and slow the gut (rather than Lomotil). Same thing, after a period of several weeks, stopped the codine because it wasn't doing anything and felt nauseous. Realised that, once again, a dependency had developed. And, yes, even though much lower dose narcotic than Endone, it took about a week after quitting before the nausea eventually went completely, ie. about the same as for the Endone which was surprising.
This was my experience, you may be entirely different, but just exercise caution.