@rahil This type of functionality can be customized, but as of now, Bagisto does not automatically add a free product to the cart based on the purchase of another product.
For example, if the customer purchases Product X, we can customize the system so that Product Y is automatically added to the cart as a free product.
This would require custom development to implement the required promotion logic.
Thanks