No Libertarian would object because it takes labor, or effort to make a cookie, and your labor is your own.
A cookie is more than just raw material. So long as the materials were obtained fairly. If you obtain something fairly, you own it and can do with it what you will. When you add your effort and cookies are the result, you own the cookies and can do with them as you wish, no one else has any claim at all on your cookies. Your effort is your own. what your effort is worth is dependent upon what others would be willing to exchange for your cookies.
What you charge for your cookies is going to be the cost of materials plus what you feel is the cost of your effort to make the cookies. If the market decides that is fair, great. If not, you keep the cookies.
In general, a Libertarian is fine with pretty much anything so long as a fair exchange is decided upon between individuals, and that my exercise of rights does not impinge upon yours. Government, if any, need s to keep the heck out of everyone's way as much as possible.
Libertarians, for the most part, will acknowledge that a functioning Anarchy is impossible for anything but a small community. Government needs to exist as a framework, but needs to be very strictly limited. You know like making sure the government allows for freedom of religion, or speech, or association, or maybe limiting the governments ability to take property without due process or to posses arms to use against a tyrannical government....