Yes, a portable generator can be connected to your home's electrical system using a transfer switch. It is important to hire a qualified electrician to properly install and connect the generator to ensure safe and reliable operation.