Yes, you can freeze the cake before frosting it. Wrap it tightly in plastic wrap and store in the freezer.