Be purposeful with sleep. Work out how many hours you need, have a schedule, stick to it. I do 2200-0600, if I’m out late I still get up at 0600, a few ‘short’ nights a week won’t ruin my energy. Also, if I’m stuck at home, nothing interesting happens after 10pm. Distractions like my phone are kept in another room.
Push mindless binging out for more intensive activities. As OP says, rest does not have to be relaxed. It doesn’t have to be solitary, although it can be. The things I do (and what they bring me) are: board gaming (social), tennis (social, competition, exercise), running (solitary, calming, exercise), woodworking (solitary, satisfaction), Age of Empires II (competition), and piano (solitary, creative). It seems a lot when I write it down, but I still have a fair amount of downtime.