You can do it in the oven , about 200 to 250F, low and slow. You want the fat to render slowly not pour out of the meat. The meat should be about 200 to 205F when done.
I have made burnt ends in the oven before but not an air fryer.
But.. the smoker is great if you have one.
Here is some bacon...