To be on the safe side. I would not put cans in a hold case. If it is scanned and the cans show up I could imagine a few raised eybrows, not to put a too finer point on it.
Could leave to you and your bags being dumped. Not worth the hassle or the chance.