Using projected decal information as a mask for custom stencil pass, is it possible?

I was wondering if is possible to get the projected decal information and use it as a mask.

Currently, I am trying to draw an outline around the projection.