Indeed. In fact, OP's quote is considered and dismissed by Graeber in Debt using precisely the same example:
"Occasionally, we can even find some kind of currency beginning to develop: for instance, in POW camps and many prisons, inmates have indeed been known to use cigarettes as a kind of currency, much to the delight and excitement of professional economists. But were too we are talking about people who grew up using money and now have to make do without it - exactly the situation "imagined" by the economics textbooks."
"Occasionally, we can even find some kind of currency beginning to develop: for instance, in POW camps and many prisons, inmates have indeed been known to use cigarettes as a kind of currency, much to the delight and excitement of professional economists. But were too we are talking about people who grew up using money and now have to make do without it - exactly the situation "imagined" by the economics textbooks."