Most likely yes you can...you should be working with a CPA and keeping track of all your expenses with a log and receipts.
This is not legal advice nor intended to create an attorney-client relationship. The information provided here is informational in nature only. This attorney may not be licensed in the jurisdiction which you have a question about so the answer could be only general in nature. Visit Steve Zelinger's website: http://www.stevenzelinger.com/