It’s obe reason why I prefer a detached garage. You don’t want a squirrel in your house.
I guess it depends on whether they are wild or not. My father raised baby squirrels on nipples when he was a kid. They can make good pets, but you gotta get them young.
(People keep even more troublesome animals as pets, like ‘sugar gliders’, or F1 Savannah cats...)