I've not, but folks around here do it all the time, especially in older neighborhood that tend to have small bungalow style houses. Best source of zoning and building code information is the city where the property is located. They typically have quite a bit of info online, but a phone call and a discussion with both departments is a good place to start.