In English that would definitely mean that you are eating while sitting or standing on the table.
In Polish, I can imagine that this could be uttered in very careless speech, meaning: They eat the lunch (which is) on the table. But it also sounds a lot like "eating while being on top of a table".