Yes. You can become Brazilian through naturalization, provided that you meet the requirements of the modality applicable to your situation. The path depends on your length of residence, your nationality and your ties to Brazil.
In ordinary naturalization, the general rule is 4 years of residence in Brazil, counted, as a rule, from residence for an indefinite period. Requirements such as legal capacity, communication in Portuguese and absence of criminal conviction or proof of rehabilitation are also evaluated, taking into account the particularities of the case.
This period may be reduced to 1 year for those who have a Brazilian child or Brazilian spouse or partner, subject to the conditions applicable to the relationship. In the case of marriage or stable union, the couple must not be separated at the time of granting. There are also cases of reduction to 2 years, related to services relevant to Brazil or professional, scientific or artistic capacity, subject to assessment by the competent authority.
Those originating from a Portuguese-speaking country (CPLP), such as Portugal or Angola, benefit from a specific rule of 1 year of uninterrupted residence and good moral character, observing the requirement of residence for an indefinite period.
There is also extraordinary naturalization, intended for those who prove more than 15 years of uninterrupted residence in Brazil, with the counting considering, as a rule, residence for an indefinite period, and without criminal conviction or with rehabilitation.
Other modalities address specific situations: provisional naturalization, for children and adolescents who began to reside in Brazil for an indefinite period before turning 10 years old, and special naturalization, for certain family or professional ties with service of the Brazilian State abroad.