Welcome. If you can, work on doing some leg lifting and gentle ROM exercises. Are you in physical therapy? If not, ask your doc about it. Due to my tpf and knee dislocation (motorcycle accident) I am still NWB, and will be for 12 weeks post accident. If it weren’t for PT I think I would not have any muscles left to even think walking was possible!
I hear ya about sleeping. Those first few weeks were tough for me, too. But do what you can to rest…and eat well, too. Foods that help bone healing will be your friend.