It might in the short term, but it's not a healthy way to lose weight over time. There are a lot of good carbs that you need to maintain healthy energy levels. Unless you're actively pursing the keto diet and you want to cut carbs out in a sustained, planned way, I wouldn't remove entire food groups.