Yes, certain foods such as garlic, onions, and spicy foods can worsen body odor. These foods contain compounds that are excreted through sweat, resulting in a stronger odor.