Vicodin is extremely bitter. It may of course meant that he was not seasoning his potatoes but wanted to have the effects of Vicodin and was just fooling around.
But could it have been, bitter though the crushed pills would have been it was preferable to months of completely bland tubers for every meal? Was he out of other condiments, no salt or ketchup?