NY tax rebates and fed?

I have a remodeling biz and I just did an array on my own house. Is it kosher to add labor cost to the install? It really was a labor of love, so it feels kinda wrong if it is permitted.