You could do that. Home Depot gets Insulfoam in 1lb. The stuff needs extra glass because there is not much there. If you do go this route, use gorilla glue. You can even mix a little paint in it to kinda match the foam color. Don’t go overboard though.
A better bet is to call Insulfoam directly and get a block the length you want and in 2lb. They have a minimum order, but you can find others in your area who would probably be more than happy to split it with you.
Assuming compsand I don’t think you’ll need to bother with any of this.
So I’ll assume that’s the wrong assumption And assume that the foam itself does take some of the load (still not convinced). That’ll mean take construction techniques from elsewhere - use an adhesive (incl bond) stronger than the materials in question (so GG is just fine), maximise the overlaps and the surface of the joins (so angled and scarfed).