Dear AWeeScot,
I think lots of us worry with our first TKR type of surgery: it's all so new! It took me a long time to get a full night sleep after my first operation, probably not until 5-6 months in and maybe longer, but I wasn't keeping track! So, your worries are fairly normal, I think, since no one really tells you what to expect..after all, the doctors haven't been through the experience themselves.
This time I'm not sleeping through the night yet, but I wasn't before surgery either, so I try to take little cat-naps if I can during the day, or I got to bed a bit early to get a few extra winks of sleep.
I also have some odd, here again then gone pains, too, and sometimes they feel like nerve aches, a little different than muscle aches, so there is a magnesium gel a massage therapist told me about so I use that when those odd, nervy pains show up. That seems to quiet them down, as perhaps the magnesium imbalance in the body triggers such pains? I'm not sure why it works, but I'm glad it does!
I hope you get some better rest, night by night, that it improves....