There are many indoor toilet models for dogs. A self-cleaning automatic dog toilets. Those with a higher budget can also find automatic dog toilets that are self-cleaning.
These use disposable training pads, typically in a roll. The machine will automatically replace the pad with a new one from the roll between one and three times each day.