Yes, knowing the context would be interesting although probably irrelevant to the answer.
I’d just quit, but calling a lawyer sounds right too.
But for example it would be reasonable (albeit inappropriate) to ask medical records of someone taking paid sick days too often.