Yes. However, using olive oil changes the flavor of the cake. It adds a nuttiness and a hint of richness that, in my opinion, elevates the cake. Be choosy about when you make this swap - the olive oil pairs well with the apples and brown sugar, which makes this cake the perfect canvas for the olive oil.