You're probably not really putting an outlet in the "chimney;" the actual chimney is the flue liner. You're just using the brick that holds it up! Of course, it wouldn't hurt to make sure that no part of the wire run gets hotter than the temp rating of the wire's insulation. And forget using romex- masonry requires pipe.