It’s ok to eat that but don’t eat it too often as it’s high in salt. I also had a few meals of pizza during the days I had craving for it during pregnancy and baby came out good.
Pizza is fine since the cheese is already cooked. Raw soft cheeses are the ones you need to pay attention to whether they are pasteurized or not