Ricotta has a fine, grainy texture and mild taste. While cottage cheese also has a mild flavour, it has a lumpy texture. I haven't tested this recipe with cottage cheese. While the flavour may work, it could affect the texture of the cake. If you give it a try, I suggest using full fat cottage cheese and using an electric mixer to beat the cottage cheese into the cake batter.