Yes, it is possible to purchase a right of inheritance. This is the sale of the right of inheritance by the heir for a consideration between the time of inheritance and the time of probate. The buyer obtains the position of the seller, but cannot undo acts previously performed by the seller. He thereby assumes all rights and liabilities of the seller. The rights of third parties (e.g. creditors, persons entitled to a compulsory portion) are not affected by such a sale, since the buyer and the seller are jointly and severally liable to them.
In addition to the purchase of inheritance rights, there is also the possibility of a gift of the right of inheritance – i.e. the gratuitous transfer of the inheritance right. Pledging the inheritance right is not possible despite the admissibility of its sale.