I'm guessing you mean to put food in.
There is a whole load of answers to that, but basically as long as the wood is safe, yes. Some woods are not advisable to for food use, yew & Laburnum being the best known and most widely available.
Otherwise, and I know some will disagree, wood is completely safe to use for food. Our forebears ate out of it for millennia. Robin Wood makes and sells bowls for just that purpose (yew tube link -
https://www.youtube.com/user/robinturns, he uses and recommends using an oil on his bowls. Ash, Beech, Sycamore are all usable, Oak is still used to store spirits while they are matured, to no ill affect (except the occasional hangover, but that's probably not the wood!)
For something like fruit use, beeswax is certainly useful, but be aware that if the fruit rots, the acid from it will affect the finish and can eat through most of them.