No, generators should always be installed outdoors in a well-ventilated area to prevent carbon monoxide poisoning.