https://modkat.com/blogs/modkat-purrr/how-to-get-your-cat-to-sleep-with-you#:~:text=Place%20a%20perch%20near%20your,bed%20for%20some%20cuddle%20time.
Use a cat treat or catnip to draw your cat into your bed for some cuddle time. Don’t be annoyed if your kitty decides to leave soon thereafter. Some cats simply have short attention spans and may choose not to stick around.
Lay out a soft blanket on your bed. Cats are attracted to clean and soft surfaces. A freshly laundered blanket might be the thing that keeps your kitty in place for the night.
If your cat tends to show up in the middle of the night long after you’ve drifted off, you can reward her appearance with a hidden treat. Place it within the folds of a blanket, for example, so she can discover it on her own without waking you. Anticipating the discovery of a treat in your bed could encourage her to settle in each night.