I have for a long period cooked raw rice directly with hot water in a porcelain bowl for 15 minutes in a microwave, totally open without a lid. The water does boil a little bit but not that severely, maybe because of the rice rich in starch which holds the water calm, so that the water doesn’t leak. It works perfectly despite the side which becomes a little bit dry. I usually resolve it by adding some water at the last 2 minutes, or removing the side.  While water boils only a little bit and doesn’t leak, milk does quite a lot, so water and milk must be different in some way.  I am concerned about whether the material, plastic, is problematic. Although disposable microwave-safe lunch box can bear up to 130℃, and a microwave can heat things maximally up to 100℃, any way, 15 minutes is apparently a quite long duration, so I am not sure if it would be harmful, e.g. releasing some chemicals, especially if it releases "secretly" that I cannot taste or smell it.  added:  After use I will discard it. One box'd be used only once.  I've just come up with "instant soup" found in supermarkets, which should be heated as liquid for quite a few minutes in a microwave, and the plastic is disposable. I am not sure if normal disposable microwave-safe lunch boxes sold in dozens online could be the same type. 
Different ovens and air-fryers perform differently, hence I don't think there is a one- size-fits-all kind of a conversion factor. In my case, I roast a kilo of peanuts in one go and it takes 22-24 minutes and another 9 minutes of the free heat from the cooling down. I have another air-fryer that stops operating at the set time and does not offer free cooling down heat and so I air-fry for perhaps 29-30 minutes.  I suggest you invest in a kilograms of peanuts and experiment with the duration. Be prepared to write off losses. Also, do not to expose the air-fryer to the sun. You fryer will suffer for it.  Cashew nuts and hazel nuts brown faster, about half the time of peanuts. You absolutely do not want to roast as long as for peanuts.  Using drum is undoubtedly superior to tray. With a tray, you probably need to stir at least once to get a more even roasting and yet still can't beat drum-roasting.   You can also roast green coffee beans with drums. 