No, you can't generate a loss with a home office. The IRS expects to see a gain for three out of every five years to show intention to make a profit.
IRC § 183(d) provides a presumption that an activity is engaged in for profit if the activity is
profitable for 3 years of a consecutive 5 year period or 2 years of a consecutive 7 year period for
activities that consist of breeding, showing, training, or racing horses.
https://www.irs.gov/pub/irs-utl/irc183activitiesnotengagedinforprofit.pdf