Yes, it depends on your particular situation, but this is technically feasible. We run some remote phones and a gateway using a VPN tunnel over a cable connection. Some things to consider are bandwidth, number of phones, voicemail, IVR, etc.
Hope this helps.
Brandon