You should go to your city's building codes and landlord tenant guidelines. The rule of thumb is it should be permitted as such. Your homeowners insurance may not cover you in a loss if it isn't to code or has any health and safety issues.
If the property is listed on MLS, any local agent can help you. it does not necessarily need to be the listing agent, as we all have access to the same information--therefore consider a call to any realty office--if a mortgage is needed, do visit with any qualified loan officer--see if you qualify, how much, the type of loan, etc.... more