Preheat the oven to 350 degrees Fahrenheit/180 degrees Celsius with the baking dish or cast iron skillet placed inside.
Place the silken tofu in a food processor bowl along with the cornstarch. Blend until smooth and creamy. Remove to a large bowl.
To the bowl with the tofu, add melted vegan butter, baking soda, grated potatoes and onions. Mix the potatoes and onions into the tofu cream until well combined.
Mix the potatoes and onions into the tofu cream until well combined. Mix with a spatula until everything is well-mixed.
Stir in the garlic powder, rosemary, thyme, salt, ground black pepper and almond flour. Mix well.
Once the oven has preheated, carefully, using oven mitts, remove the heated baking dish and spritz the bottom and sides with oil or cooking spray.
Scrape all of the kugel batter into the baking dish and even the top. Bake two hours or until the potatoes are golden and crispy on top. Cool for 10 minutes before slicing. Sprinkle the kugel with optional parsley for some fresh flavor.