You can do it but plan on reduced yield. You'll also want a pretty big pot...5 gallon bucket minimum, something that is 18 to 20 inch diameter minimum.
The other thing you can do is run a pole up about 6 feet and drop twine down from the top for the bine to climb up. As the bine keeps climbing, add more twine so it can grow "up" at least 12 feet. The bottom of the bine won't be very productive but the top will do better.
If you plan on settling down into a place where you can drop them in the ground, this is a good way to get a nice crown started.
Oh, and they would probably do better out on a porch/patio than inside your house but work with what you've got. Even if they don't produce, its better than growing another african violet or any of the other dozen house plants my wife has.