may be worth talking to your doctor about testing for sleep apnea or other sleep disorders
i’ve had bad sleep all my life and recently got tested. turns out i have nothing diagnosable but at least now i know it’s a skill issue i guess lol
raising the head of my bed helped somewhat as i have mild acid reflux. it’s as simple as shoving some pillows and/or old clothes under the top third of your mattress so worth a try, nothing to lose.