iPhone as a modem for laptop?

Is it at all possible to use an iPhone as a modem/wireless card for my MacBook so that I could have an Internet connection from almost anywhere?

If so, what programs would you recommend?

Thank you!