While not conventional, roasting coffee beans in an air fryer is possible. Air fryers use hot air circulation, similar to air roasters, which can provide an even roast. However, not all air fryers are suitable for coffee roasting; using one may void the warranty. Additionally, you may have limited control over the roasting process compared to specialized coffee roasters.