Preheat the oven to 375. Grease a 9x13 baking dish with avocado oil. In the dish, arrange the potato slices in rows and distribute the onions evenly atop them. Set aside.
In a medium skillet with tall sides, add the olive oil and heat over medium-low. Sprinkle in the flour and stir, toasting until the raw taste has cooked out, about 3 minutes.
Slowly pour in the coconut milk and bone broth. Whisk to combine.
Add in the garlic, thyme, onion powder, salt, pepper, and cream cheese. Whisk to combine and bring to a light simmer. Cook until the sauce has thickened enough to coat the back of a spoon and is smooth, about 4 minutes. Stir in the nutritional yeast and remove from the heat.
Carefully pour the sauce over the potatoes and onions, ensuring the sauce is evenly distributed. Cover with foil tightly and transfer to the oven. Bake on the middle rack for about 40 minutes. Remove from the oven and remove the foil.
Turn the heat up to 425 and cook for an additional 15-20 minutes until the top of the dish gets golden.
Allow to cool before topping with chives and seasoning with black pepper. Enjoy!