The best way to get into bed please?

Hi Friends I have OA in both hips. I live alone with no daytime assistance. I have pain getting into bed almost every night and if I get up for the loo in the night I have to go through it again. At the moment I use a leg lifter (an infinity scarf) to lift left leg wiggle as much as I can then launch my better leg onto the bed. I use my metal headboard to help me get into a sitting position to be able to read. This seems to be one way but do you have any safer better or more streamlined ways to do it please? Thanks Sharon.