Investors & landlords

And two different, but related questions.  Can 1-time closing costs related to our HOA be added to our adjusted cost basis?  I refer to the Disclosure Packet, Initial Capital Contribution and New Homeowner Set Up Fee.  Same question for the cost of a home inspection.  Thanks, again, for previous advice.