There are South Indian foods and snacks like venpongal and methu vadai that use whole peppercorn, not chili peppers. Tomato is another colonialism byproduct, but there are still people who make versions that use lemons instead of tomatoes. A common homemade drink for sick people is made from grinding dried ginger, coriander seeds, and black pepper. These are all daily foods. But you're right, few households or restaurants are 100% free of these 400 year old import crops.
Obviously, chili pepper is used where peppercorn or ground black pepper used to be, for the reasons in the parent comment. It also makes sense that black pepper would have been used in various dishes because it enhances the potency of the medicinal properties of turmeric by an order of magnitude. It wouldn't be hard to go back to black pepper, I imagine, with a little retooling of recipes to rebalance flavors.