Popcorn popper could work, or not. A few will do OK out of the box, some will be fine once some overheating protections have been disabled, some are pretty much hopeless. I believe later models tend to be in the last category. I roasted a fair amount in old poppers made by the Wearever Aluminum Company, if I remember right. Typically yellow and white. I think I had to hotwire all of them, the procedure depending on which model.
A simpler and maybe more reliable way involves a heat gun, of the kind people use to set their
wood siding on fire while trying to remove paint, a steel bowl, well insulated gloves and a large
spoon. Keep it going while you hear some loud popping noises, which should die down, and then some smaller crackling sounds signal completion.
Coffee is an excellent house plant because it tolerates some shade. I managed to get a few beans, which I planted. I'm no expert, but I expect they were of very low quality - well, I know they were, because good quality
Coffea arabica is grown under very specific climatic conditions that aren't going to be reproduced inside the home, including but not limited to very high elevation. Other species -
C. robusta or
C. liberica could be a better bet. If I had somehow managed to grow a useful quantity of them I'd have roasted them anyway. The processing problem is less the fermentation part - I don't think they do that everywhere - just dry them, but they have kind of a shell that needs to be milled off, which for a large quantity would be kind of a nuisance.