Of course, Yes. Peppers require nitrogen to grow and bear fruits. Since coffee grounds are rich in nitrogen, peppers love coffee as much as you do.