As RLS and obstructive sleep apnoea are often linked, this story about research concluding that tirzepatide (Mounjaro, Zepbound) could become the first pharmaceutical treatment for OSA may be of interest:
"Weight loss drug could ease sleep ap... - Restless Legs Syn...
"Weight loss drug could ease sleep apnoea in people with obesity, study says"


RLS, sleep aponea and obesity are all linked to bad diet.
Rls is not always related to a bad diet.
No, bout in combination with the other problems it is highly likely.
I am not obese with a BMI right in the middle of the healthy zone, practice intermittent fasting combined with a whole foods diet, exercise daily (rock climbing, running and cycling) yet I have mild sleep apnea and RLS. Sometimes these things have genetic connections and come with age regardless of health efforts. I suspect if I were obese with a poor diet my apnea and RLS would be much worse.
It's probably all the excersise that keeps you from getting obese.
A poor diet and/or excessive eating *may*of course be linked to all sorts of medical conditions. On the other hand, there are plenty of people who suffer from one or more of these conditions - even in some cases obesity - who eat a perfectly good diet and do not eat to excess. RLS is only sometimes related to diet.
While the research did specifically look at OSA in obese individuals, as Dr Sanjay Patel writes in his editorial acompanying the research: "Excess weight is the most important risk factor for obstructive sleep apnea; it is responsible for approximately 60% of moderate-to-severe cases of obstructive sleep apnea in the United States", which leaves 40% of such cases where excess weight is NOT responsible for moderate to severe OSA.