Business & farm

Can the S Corp pay myself as a 1099 contractor that owns his own equipment? At that point the truck would be a tax write off?