Of course the natural home of chili peppers is tropical climate - a variety of soil - even very dry and sandy like here on the photo from Bicol province - Philippines.
The plant then grows slowly and continues year round to blossom and have fresh delicious chili peppers. Pick as you need always fresh from the plant. As you see on this and the previous photos - chili pepper plants easily grows amidst other plants side by side. No special place or distance needed - just the right neighborhood. We humans do the same - the right one always can be near us - skin to skin - only the wrong ones need to be at a "safe distance".
If ever you got too much chili pepper in a meal - use the Thai method - eat a few leaves of fresh mint. Smart cooks sometimes even have several mint leaves included in the dish, in Thai soups for example or Vietnamese Nem.