The question was about heel, not about sail trim.
I agree that flattening mainsail will depower it and reduce weather helm.
Balancing sails is also essential in adjusting "helm."
On race boats moving the crew around has an effect on helm.
There are many factors involved.
ISPA Yachtmaster Offshore Instructor Evaluator
Sail Canada Advanced Cruising Instructor
IYT Yachtmaster Coastal Instructor
As I sail, I praise God, and care not. (Luke Foxe)