Yes, you can compost indoors. All you need to do is get a bin designated to the composting and put it in a secluded space where it won’t inconvenience you or your housemates.