Question: can you sell a house without a building permit?
Answer: You can still get the necessary construction permits, and make your work legal so you can sell your home: Disclose the unauthorized work to your listing agent. You may try to get past it, but it's quite likely you'll be found out when the home inspection and appraisal is done.