No, it isn't being used correctly. The correct word to use here is "fewer." This is a tricky question, because native speakers sometimes use the wrong word. Everybody would understand what you wrote. However, it's incorrect.
"Fewer" is used for countable nouns, things you can count with numbers, like "hamburgers" or "meals" or "items."
"If you want to keep healthy, you have to eat fewer hamburgers."
"If you want to save money, buy fewer restaurant meals."
"This line is for customers with ten items or fewer."
"Less" is used for uncountable nouns, like "fat" or "coffee" or "stress."
"If you want to keep healthy, you have to eat less fat."
"If you want to sleep better, drink less coffee."
"Your job is affecting your health. Find a job with less stress."