I think that is a great idea.
.. as for me .. I did that at my local gas station -- gave them a bucket -- and would go by every couple of days -- but then, I was sick for a week -- by the time I came back they had thrown out the bucket coffee grounds and all -- I cannot blame them...
.. what I am getting to -- is .. you will have to be religious about getting the scraps ... I am not sure I have it in me.
I keep saying I will go by the farmer's market and ask to get some of the gone bad food -- but I haven't done that yet... maybe I will do it now
Good luck -- remember you can always add water to your compost if it is too dry.