You may be able to deduct expenses related to the business use of part of your home if you meet specific requirements. Even then, your deduction may be limited.
Per IRS Publication 587 Business Use of Your Home (Including Use by Daycare Providers), on page 3:
To qualify under the trade-or-business-use test, you must use part of your home in connection with a trade or business. If you use your home for a profit-seeking activity that is not a trade or business, you cannot take a deduction for its business use.
Example. You use part of your home exclusively and regularly to read financial periodicals and reports, clip bond coupons, and carry out similar activities related to your own investments. You do not make investments as a broker or dealer. So, your activities are not part of a trade or business and you cannot take a deduction for the business use of your home.
Note that any link in the information above is updated each year automatically and will take you to the most recent version of the document at the time it is accessed.