Is it illegal?

To work for a public accounting firm but also do bookkeeping on the side under your own private practice?