Yes. You can actually buy pairs of antennas (basically an AP pair) that do just that. The only downside is that the signal quality varies based on weather.
If you want something more or less weather proof, you can get microwave P2P links that run in licensed bands and you don't get any signal interference from similar nearby antennas.
Both WiFi and Microwave equipment act just like bridges and you can connect them to a switch or router.