Yes, you can. Yogurt does add a tanginess to the cake which also adds to the flavor.