Film critic Roger Ebert did this with a rice cooker that he carried with him as he traveled the world for work, and even published a book of recipes for meals that could be prepared using only a rice cooker.
I’m really not getting the impression that the author is recommending using the coffee maker you find in a motel room to do your cooking. In the article there are a few references to “your coffee maker,” and it would be trivial to pack one with you as you travel, the way Ebert did with his rice cooker - though I think that a rice cooker would be more practical to pack since it doesn’t have a fragile glass carafe as one of its components.
I agree that using the hotel or motel’s coffee maker to cook your meals doesn’t sound like a good idea. I don’t even use them to make coffee.