Is it possible to create an own MacPorts (proxy)repository/server?
You could probably in theory patch Homebrew to point to your internal Git server.  But it would still download the source for all the packages from their normal upstream locations.  You could bottle everything, but that would be a lot of work.  It don't think it would work very well.