Technically, you can, but I wouldn’t suggest it. Cottage cheese and Greek yogurt have lower fat contents and are light in flavor. The cake will be less moist and have less flavor. There is also more moisture in cottage cheese and some Greek yogurts, which will change the texture.