Strawberries will suffer if they don't get enough moisture, but I have seen pictures of strawberries being grown like that, if the holes were big enough and you could ensure water gets to the plants on the outside, I don't see why not. Don't think I'd try potatoes as they need complete darkness, but you could always line the container with cardboard?