I found some research on ultramarathon runners which has this conclusion:
We conclude that, compared with the general population, ultramarathon runners appear healthier and report fewer missed work or school days due to illness or injury. https://journals.plos.org/plosone/article?id=10.1371/journal...