Add Membership from Gravity Forms

I am looking to see if I can add membership to a registration that comes from a Gravity Form fill