Vedic animal sacrifice was not a substitute for a slaughterhouse
The real purpose of a sacrifice was not to replace a slaughterhouse but to test a Vedic mantra by giving an animal new life. Animals were used to test the power of Vedic mantras, not for meat.
Srimad Bhagavatam 4.4.6 purport