I think you have it, N2G.
1. Eat your heart out, X!
— X, who is a specialist in this field, would nonetheless "eat his heart out with jealousy", were he to witness my performance.
2. She was X-ing her heart out.
— She was X-ing passionately / wholeheartedly / to the fullest extent of her powers.
MrP