@Brandon Heath Typically, the answer to your question would be in the corporation articles of incorporation. Typically, there is a "purpose" clause or similar. In a perfect world, you would have had some language there that said something like "all legal purposes."
Even if not, if you are the only shareholder, you could actually decide to amend the articles of incorporation, though that is not ideal. Also, you may have registered for certain licenses in your state already
So, that is the "legally" correct answer. Now, here is the practical answer. If you are the only shareholder, there is no one else to tell you what to do. Effectively, you can do whatever you want as far as the operation of the business and its goals (assuming legal and ethical, of course).
It is very rare that a state would limit a corporation's activities, so long as the corp is licensed as the state requires.
Bottom Line: If you are licensed as the state requires and you are the only shareholder, there is no reason your corporation can't buy real estate. If there are other people, you probably need to make some formal amendments to your corp docs.
*** Not actual legal advice. Consult a local attorney as necessary.