Is it a bad idea to start lifting weights while my pilonidal cyst heals?

Yes bad idea. These heal slowly pressure sweating rubbing will delay healing bikes are bad as well.
See your surgeon. Ask your surgeon. It depends on the procedure. If it was a lay open technique, then probably not. Ultimately, your surgeon will know what technique he/she used and what the tolerance is for weight lifting.