Can doxycycline and levonorgestrel be taken together?

No. Most antibiotics "compete" with the oral contraceptive pill for gastric absorption and are preferentially absorbed to the exclusion of the oral contraceptive pill leaving patients "unprotected" from pregnancy.