Are chilies in olive oil dangerous?
There's nothing magical about garlic that causes it to be especially prone to botulism - it's just commonly found as an example because it's commonly used to prepare flavoured oils.

All low-acid foods must be acidified or pressure-canned before long-term storage. Storage in oil creates an anaerobic environment which further promotes botulism, and room-temperature storage is even more risky.

Chili peppers are low acid, like all peppers, so yes, they're a risk.