No. Research has shown that under certain conditions, deadly carbon monoxide can build up in a house from a portable generator that's 15 feet away. The CDC recommends that generators be placed 20 feet from the house.