It is possible to get your visa in BA from the Brazilian consulate office. It usually takes a 3 to 4 days in BA. There's same day service at the Puerto Iguazu consulate. There are many threads about this in this forum. Use the search feature above "Brazil visa".