Sure! Just leave the flour out, and make sure you use a gluten-free can of baked beans.