Why some diets ban healthy food

Can fruit, beans, and yoghurt seriously be off limits?