You can offset the inflammation that arrives from getting five or fewer hours of sleep the previous night. With exercise. You just don't want to get into a habit of it. But if you're on the fence about whether or not to train because you're sleep-deprived, train, but don't do that more than one to two days per week ideally.