Deleted post
It's fairly quick and easy for an experienced modder, but tricky for someone unfamiliar with all the parts. A core issue is that the portrait displays are implemented separately for each part of the game, which would require the modder to locate a few different sections of the GUI and the corresponding code.
AricsExpansion went a different route and added the pregnancy icon to the slave tooltips and information tabs, which is far fewer locations.