If you put them on a brightly lit warm window sill they will survive but they will slowly decline. If you use artificial grow lights getting the right lights and paying for the electricity makes for expensive peppers. Just start seeds about 6 weeks prior to putting them outside on that same window sill and move outside into the sun ASAP.
In my opinion, it is not worth bothering with. They will not produce near like what they did when first planted and newly planted plants next spring will surpass them quickly. Just not worth the trouble...unless you just want the challenge of carrying them over.