Yes, you can certainly do this.
Take a look at Apple's information regarding the Home app and various functions that can be controlled, for example:
The new Home app is secure and simple to set up, and it unlocks the full potential of your smart home.
www.apple.com
Invite people to control your home, edit their permissions, and allow them to control your home remotely with the Home app.
support.apple.com
Ask Siri to turn on lights, adjust the thermostat, and control the products that you use in your home—even when you're not there.
support.apple.com
Family Sharing is easy to set up and lets up to six people share access to Apple Music, Apple TV+, iCloud+, Apple Card, and more. At no extra cost.
www.apple.com
The following page may be the one that was intended to be recommended earlier:
Siri on HomePod and HomePod mini can recognize multiple voices, so everyone in your home can enjoy personalized music and media. And you can do even more when you enable Personal Requests, like send messages and make phone calls.
support.apple.com