They’ll grow assuming you get a suitable variety, just not fruit much if at all.
The issue here is comparative advantage: the #1 factor in the plant growing well is going to be your lighting. Unless your residence is a houseplant paradise, good lighting is probably a limited resource you could put to better use with a more traditional indoor plant.