Custom Membership Form

Is it possible to have a custom membership form, built using Gravity Forms or (ideally) Formidable Pro? So that the values arrived at in the form are what is charged for Membership?

Hope someone can help.