Two great things come together!
It only makes sense that you can roast coffee in a castiron pan. I could almost smell this post on Reddit within seconds of seeing the video.
Here is a YouTube walking you through what is very, very simple. I am surprised I had never thought of this and always regarded home coffee roasting as needing specialized gear.