Lots of people here have house chickens. it's not any different from having a dog as an indoor pet. Dogs are supposed to be pack animals, but they also do fine with a human family.
https://www.backyardchickens.com/threads/house-chickens-unite.1286681/
https://www.backyardchickens.com/threads/house-chickens-unite.1286681/