My question involves employment and labor law for the state of: CA

Can you work two full time jobs at competing companies? They are virtual jobs.
Has anyone does this before and how can you get fired/caught?