Yes indeed.
Besides the Raspberry Pi you’d probably need to offer a package of sensors, switches and lights, as well as a standard dashboard and perhaps even a device to display it on - otherwise you’d end up with a bespoke product, which from the business point of view could get difficult very quickly.
There is a long discussion of the pros and cons of HA installation as a business here.