You can certainly build stats to count these kind of things, although to do it in a simple way would mean building several similar stats for each situation.
e.g. It would be easy to build a stat to count how often a player limps when then had AA; or to calculate their average raise size when they had AA.
If you want to add it to the HUD then you will need to build a stat for each specific case.
To add this kind of stat to a report is a bit easier, though.
You could build a stat to analyse first preflop action (count limps or raises for instance) and then add it to the Known Starting Hands Summary report which would split it into holecard categories.
This is quite a nice idea, now that I think about it.
Have a play around with it and see what you can come up with.
If you get stuck, or want to throw some ideas around, please post back.
Read the
Custom Statistics and Reports FAQ to get you going, and you may find these kind of database fields useful..
holdem_hand_player_detail.amt_bet_p
lookup_actions_p.action (see the FAQ for how to use this to get the first preflop action)
holdem_hand_player_detail.amt_p_raise_made
holdem_hand_player_statistics.flg_p_open_opp