Despite what other answers say, no, don't do this.
Just "PLA" isn't a good enough specifier. In theory, PLA is inert enough to not interact with food. However, there are many details and variants of something as broad as "PLA". For example, your PLA probably comes in different colors. Are you sure the coloring agents are OK? I certainly wouldn't be without specific promises from the manufacturer to that effect.
I have had to get plastic parts made to handle drinking water as part of my day job. You have to specifically look for formulations and processes that are "food safe". Plastic manufacturers are all aware of this. Many ordinary plastic are not food safe, even though in theory the plastic is suitably inert.
Check with the manufacturer of the specific PLA you are using for your 3D printer, and ask them whether it's food safe. Even that needs some qualification. There are various standards of "food safe". For example NSF/ANSI 61 is about contact with drinking water. Even for that standard, plastics are only certified compliant over certain temperature ranges, and for some maximum surface area to volume ratio. It gets complicated. Some plastic may only be food safe for foods within a limited pH range, for example. Something to handle wine, for example, may be unsafe for cookie dough, or vice versa. You can't assume a particular plastic is safe just based on the general properties of the plastic family.
To give you some idea of this issue, here is a snippet from a datasheet for one specific plastic:
I recognize NSF 61 as the certification for contact with drinking water. The 7 different FDA standards listed are probably for various food-handling and medical applications.
It costs the manufacturer real money to get their plastic certified to each of these standards. This should prove that it's important, and that responsible customers insist on the proper certification for their particular use.
The same manufacturer probably makes non-certified variants of the same basic plastic. Those might have an additive that enhances the molding process, modifies the surface texture, changes the melting point, the viscosity when melted, the color, etc. The point is you don't know whether something is safe for contact with food unless it has been explicitly certified for that.
The "PLA" for a consumer 3D printer is probably optimized for melting and hardening characteristics, and price otherwise. You should assume it is not food safe without a specific statement from the manufacturer.