Yes, an air fryer can give you a crispy outside similar to shallow frying, but keep in mind that the texture and overall result won't be identical because it doesn't use oil immersion.
Air fryers work by blasting hot air all around your food at high speed, creating a convection cooking effect that browns and crisps the outside without needing a ton of oil. This can definitely give you a texture that's crispy and golden, quite similar to what you'd get from shallow frying, but usually with a lot less fat. However, the big difference is the cooking medium. Shallow frying uses hot oil, which conducts heat incredibly efficiently and creates a distinct, richer flavor and a more uniform, often deeper, crispness on all surfaces that touch the oil. Air frying achieves its crispiness through dehydration and hot air browning, which can sometimes lead to a slightly drier interior or a subtly different surface texture compared to foods fried in oil. So, while it's a fantastic healthy alternative, it's not an exact twin of shallow frying.
For the best air fryer results with foods you'd normally shallow-fry, lightly brush or spritz them with just a tiny bit of oil before air frying. This really helps boost the browning and flavor!