If you can make glue from tree sap,

If you can make glue from tree sap, could we use it in a heated paste extruder too? I think a hot glue gun made of clay, wood and sap might be the easiest thing for a poor country to make for their “3d printing” needs. Having the trees around would then be great for making stuff without killing the tree and for the health of the planet.