Yes. Donations made during one's lifetime can affect the distribution of future inheritance in several ways:
Collation: Forced heirs (children and descendants) who receive a donation during the donor's lifetime must "collate" it (count it as an advance on their inheritance) unless the donor has expressly dispensed them from it in the deed.
Reduction of inofficious donations: If lifetime donations harm the legitimate share of forced heirs, they can demand the reduction of such donations to cover their legitimate portion.
At Notaría Online, we advise on how to structure donations to minimize future conflicts in the inheritance.