knock oneself out

Upper Intermediate (B2) informal

To try very hard, or (in a joking way) to tell someone to go ahead and do whatever they want.

"She knocked herself out organising the fundraiser, and it showed — the event was flawless."