Rest should be just as much of a priority as running.
If you have the option to sleep for five hours and go for a run or sleep for eight hours and skip a run, I’d recommend the latter.
Rest and recovery are critical for improving performance and most importantly for avoiding injury.