wholegrainCan a given word have two different meaning in the same sentence?
Much humor depends on it, yes. But there the whole sentence usually has two meanings at the same time.
Your example is a case where the word has two meanings, one after the other. That's different. It just makes your reader confused and frustrated; whereas your job is to make what you write easy to understand. These kinds of confusions are the mark of bad writing:
The book was very amusing and on the third shelf. (book as narrative vs. book as object)
Rabbits multiply very quickly, and so can calculators. (multiplication as reproduction vs. multiplication as computation)
And my perennial favorite, showing that literal and figurative meanings cannot be mixed:
She left in a Cadillac and a bad mood. (in to show literal position vs. in to show figurative position)
CJ