Many cameras can take a decent to even good shot indoors if a few basic concepts are understood, and good practices followed. FIRST is to remember that in most places, light indoors is fairly low in brightness level, but that some areas within a room are likely to have bright areas which are several times brighter than the darker, less-lighted areas. The indoor basics often mean that a slow shutter speed with the camera on a tripod or firm support (tabletop,desk top, countertop) will be required to make a "good photo". Along with that firm support, a small lens opening is often helpful to get deep depth of field, in order to get plenty of the room in good, sharp focus. By slow speeds, I mean speeds of from 1/30 second, down to as long as 10 seconds. Really! Not kidding; in a dim interior, a 30-second exposure at f/8 is a real possibility.
Second: selecting the right camera placement, with the camera set up in a good location. Keeping the back of the camera parallel with walls and large rectilinear things, like paintings hung on walls, and so on--that helps a lot.
Third: test exposures, alternate lighting, using reflectors to fill in dark spaces with reflected light, white balance settings for artificial lamp light, flash + slower speeds for household lamps. Third is a huge category. You can combine longer exposures with flash, multiple flashes, light painting with flashlights or flood lamps or flash units. You can take multiple shots and combine them in software to do HDR type tone mapping.
Fourth: Learning how to use electronic flash either on-the-camera, or off-camera, to shoot things hand-held OR tripod-mounted, such as at a party or other indoor event. Bounced flash is a popular method.