Non-human chitinases would simply be added as a processing step. This might be as simple as canning the grubs in tomato sauce, or serving them with avocado.
People do eat mushrooms and shellfish, after all.
Larger insects can have their exoskeletons removed or partially removed, and those can be turned into chitosan, just like the shells from peeled shrimp.