Can lack if sleep and a lot of alcohol cause lyph node swelling behind ears?

No. Sleep or lack thereof and alcohol have nothing to do with lymph nodes there. However, I see you are on antibiotics after a tooth extraction which must have also been infected. This infection is certainly the cause of the swollen nodes. If these nodes do not improve as the dental infection does then you need to followup for evaluation.