Indeed, a lot of work.
But, as nearly all other factors are linked to pops morale (production, mining, wealth creation, ...), maybe only influence this could be an easier way ?
Things like war weariness, lack of some installations, ennemy ships/troops in the same system, ...