Depends on your definition of freedom. The issue with this kind of freedom is that your freedom encroaches on other people's freedoms, so most societies agreed that we should have less freedom in favor of fairness.
Exactly where the trade-off is to be made is subjective and cannot be derived from facts alone.
We have a lot of freedoms that encroach on other people's freedoms, it's impossibly to make a clear cut on where fair ends and personal freedom begins.
Allowing people the freedom to sell sugar will inevitably lead to more diabetes and earlier death. It tastes good and it's addictive.
Sugar costs a lot of people some of their freedom to live and move. But if we didn't allow selling sugar we would take away the seller's freedom and the freedom to choose from the consumer.