Oh, SisterPat, I’m so sorry the adjustable bed wasn’t the solution for you! On it, I still cannot side lie, though I keep trying!
Flutter, I put my new knee leg on one of those foam pillows that has a raised edge on both sides, designed to support one’s neck while one’s head is in the central trough. I put my leg in there, get my ice packs set up around my leg, tucking old dish towels around it to hold the ice in position, then raise the lower part of the bed just to where it gets my knee above my heart. (I also raise the upper part, too, as it’s allergy season here! That way I can breathe at night!) Then I have a sheet and a really lightweight (but warm) down-like comforter to keep my body at a good temperature.
I tried some other pillows: fat fluffy ones, firmer foam ones, but this one just seemed about right... I still don’t sleep through the night, but I often can get back to sleep at least!