This may also be because sleeping after knee replacement is tricky. The best position during sleep is on your back, although you should place a towel under your knee to maintain the proper alignment. Others hug his leg and need to keep it straight; some also utilize wedge pillows. Changing positions while sleeping may be helpful for different people, but you should consult your doctor for more information on which position is best for you.