Yes, it can happen so if there is a clause in the agreement. If not, there is a way to chalk it out mutually if so required with the consent of both the parties.
Price can be decided as per the efforts and capital infusion if any or as mutually agreed upon