Not at all. Do not eat those peppers after some days. They may have rotted from inside. This trick works with some vegetable only and so your peppers will not be edible.
A spammer has given advice! Thanks, spammer!
(I think they're correct, but as long as you check your peppers first you should be able to tell, right? Maybe you could just pickle them.)