Asterisk for a mega phone system

Has anybody, any idea of the possibility of using Asterisk for a community telephone system of say 5000 subscribers to enable a cheap phone alternate company for peoples benefit. If Yes, which is the best method to size such a project up to minimize cost and deliver the power and advantage of ASTERISK to the community?