Preheat oven to 375°F.
Bring a large pot of salted water to a boil. Add the green beans and blanch for 3 minutes. Drain and set aside.
In a large skillet, heat 1 tablespoon of olive oil over medium heat. Add 1 cup of the chopped onions and sauté for 3-4 minutes until softened.
Add the mushrooms and sauté for another 5 minutes until they start to release their moisture.
Pour in the mushroom broth, thyme, garlic powder, parsley, salt, and pepper. Simmer for 5 minutes.
Add the coconut creamer and simmer for another 5 minutes until the sauce thickens slightly.
Spread the cooked green beans in a 9x13-inch baking dish.
Pour the mushroom-onion mixture over the green beans.
Add the cooked rice, spinach, and tuna, gently mixing them into the casserole.
Sprinkle shredded cheddar cheese evenly over the top.
Bake for 15-20 minutes, or until the casserole is bubbling and the cheese is melted and lightly browned.
While the casserole is baking, heat the remaining tablespoon of olive oil in a small skillet over medium heat. Add the remaining ½ onion and sauté for 10-12 minutes, stirring occasionally, until the onions are caramelized and crispy.
Remove the casserole from the oven and top with the crispy onions. Serve immediately.