Can I get LH surge right before period?

I am only on cd20 but I have been spotting the last 6 days off and on (not heavy just pink when I wipe here and there). I had my “peak” on cycle day 18 but worried bcuz I have been spotting before and after peak. I don’t think it’s my period but if it is could I even have a “peak” right before a period? So confused :(