Yes, you can sell a house with tenants in it. However, you must abide by the local laws regarding tenant rights and provide proper notice.