It will be a bit difficult to achieve the darkish texture of the coffee beans in the air fryer. Also, the air fryers are not made specifically for roasting coffee beans at high temperatures. Also, the air fryer will not work if you overload the basket.