Setting the gamerule doLimitedCrafting to true does not stop players from crafting unknown recipes
- Create new world
- Set the gamerule to true
/gamerule doLimitedCrafting true
- Collect some resources to unlock some recipes
- Take the unlocked recipes or turn off recipe unlocking
/recipe take @a *
- You can still craft items even though you don't have any recipes