You need to find out from the town if you need a permit to do so or not allowed to do it at all. If some one complains about it, you may get youself in big trouble. It all depends on the town and your neighbors. Need to do more research on it.
It is called illegal conversion. Be careful!!!