I have had to take many months away from game dev to recover from injuries or illness. If taking care of your health interferes with game dev, prioritize your health in all cases. Your projects aren't going anywhere.