It is. So a happiness based build has quite a few opportunity costs in terms of trait, ethic and/or government choices.Isnt it capped by habitability?
So you need either be picky with planets, or terraform, or pick right race for the job, or use some tech/buildings.