Can I share my iPhone's WiFi connection to my Mac?
No. This isn't a function of the iPhone OS from Apple. If this isn't a short term need, there might be a jailbreak tweak to turn the OS into a fully functioning router / hotspot, but the hardware isn't designed to extend a network as your use case requires.