What would cause seizures in your sleep and could it be a brain tumor because I do have a knot behind my right ear hard as a rock the size of a marble?

Scan needed. Sleep is a frequent time for seizures. Unlikely that the mass outside ur skull is also inside against ur brain---u need a neuro eval and a scan.
Not necessary. I advise u to see a neurologist for evaluation and work up. Good luck.