Pay With a Like - use to enter a competition?

Is it possible to have a gravity form hidden behind the "pay with like" so the user has to share the page (I'm presuming we can decide what link is actually being shared?) before they can enter the competition?

Stephen