Absolutely! Erythritol is heat stable, so you can use it in cooking and baking just like you would sugar. Keep in mind that it's about 70% as sweet as sugar, so you might need to adjust your recipes accordingly. Also, because it doesn't caramelize or brown like sugar, some textures and colors might be slightly different in baked goods.