That's why Morality (Śila) is one of the pillars of Buddhist training. Tibetan monks are taught to cultivate compassion for others at the same time as they are trained in meditation. At least that's the theory, not sure how well it works out in real life.
I'm not sure what a constant state of "happiness" is because I certainly don't consider it en emotion in and of itself, (I consider it contentment, or perhaps euphoria on an occasion, or perhaps lack of suffering), so I'm not sure the concept of "chronic happiness" even makes sense vs the very real physiological effects of chronic stress on the body and mind.
Suffering is only informative as a signal. You have to parse it out and identify the source yourself in order to translate it into effective motivation. This same process is likely necessary to achieve the "happiness" in the first place.
Optimizing outcomes will likely be easier if you're able to focus on the task at hand with a clear mind, or you're able to address background stress, and will let you know if your stress is pushing you in the wrong direction (say, towards a career, but because of social pressure and not your own volition).
(read stories about that actually happened in reality. Basically a form of madness/strategy of the brain to deal with a situation it seems impossible to solve)
In any case that seems like a separate emotion than "happy"... "traumatized" seems more like it.
I think happiness is a state the brain produces to reward itself for good outcomes in life decisions. The fact that it is only of limited time and intensity has its (evolutionary) reasons -- they are not the worst of all reasons.
Like with depression as chronic sadness and fatigue, chronic happiness is not something we are capable of handling long-term if we want to optimize outcomes for ourselves and others.