If your present sleep disturbance is due to pain, then oxycodone
should be sufficient for you. However, if the sleep disturbance persists even when there is no pain, then it is possible that abruptly stopping oxycodone may be responsible. I suggest that rather than stopping it abruptly, you taper it off over a few days and till then, use over the counter medicines to help you with sleep.
Hope this helps you. Best wishes.