In my experience, some software installs are easier with apt, relative to brew. Also, there is some advantage to having an environment installed on my dev machine with the same package manager as in production.
That said, if you don't mind the overhead, you can achieve a similar outcome running a virtual machine inside of OS X.