No but there are many ways to do it.
The easiest one is to make a foliage/tree material that is crafted to do this on purpose.
Another option would be stencils and a PostProcess material.
and there are tons of tutorials on how to go about it - one worse than the other, but they give you ideas at least.
Trying to source a link…