"Can I deduct the time I spent?"
No, unfortunately you cannot deduct the value of your own labor.
No. You can not deduct from taxable income that which is not and can not be taxed in the first place.