Can you lose weight by eating properly and not working out?

I don’t have much time to work out since I am a grad student and have such a hectic schedule. I was wondering if i didnt work out or go for walks, is there a way in which i can lose weight with just eating healthy?