- The project is new, in which case you can easily/safely ban functions, but then why are you starting a new C project in 2021?
- The project already exists, and now you need to refactor out all the compile-time errors in order to move forward (time-consuming).
Keep in mind the first is a real question that should be answered. If your goal is to avoid undefined behavior/potential security headaches, then C should be entered into after careful consideration of cost/benefits. There are better alternatives for some projects but not others YMMV.