Most often fruits and vegetables will need the space of something like a greenhouse to be able to grow them indoors. For food production, you are going to need many square feet of space and more soil depth than you can get with potted plants.
If all you have is sunny windows, you should be able to do well with a variety of herbs, micro-greens (baby lettuce shoots) and potted strawberries. If you really have space, you might even be able to do a potted dwarf fruit tree.
You'll have to do research for what will work in a container and what matches the type of light and temperatures you have in your home.