Yes, ricotta is considered to be low in carbs can be enjoyed on a keto diet.  A ¼ cup serving contains only about 2g net carbs.  Opt for the full-fat variety and enjoy!