Is it possible for the villagers when clearing a plot for a building. To leave the resource that's needed for the new building at the build site. Instead of taking it to a stockpile and then bringing it back to the build site?
nope
However, nothing stops one from laying down a stockpile before laying down the building. Adjacent stockpiles to building projects do seem to cut down the length (time) taken for trips to get materials.