sleep and weight loss

Do you find that people who don’t get enough sleep have a harder time with weight loss/ maintenance?

I get about 6 hours of sleep a night, and definitely feeling like it’s harder for me to maintain weight.

Also going through peri menopause and that in itself can make a different in both sleep and weight loss.

What do you think about sleep?