Yes, you can cook the pasta and assemble everything in pans and store in the fridge a day or two in advance. Since the mac and cheese will be cold, it may take a few additional minutes to cook in the air fryer. Just note that the mac and cheese may lose some of its creaminess as the pasta will absorb more of the liquid as it rests in the fridge.