Absolutely yes! In many parts of the Mediterranean and the Middle East, yoghurt is used to make sauces that a lot of other cultures would create with ricotta cheese. If you're willing to experiment, yoghurt makes an excellent substitute but also cottage cheese too.