Yes, you can apply for government exams while working a private job — there is no rule against it. Your employer does not need to be informed for SSC, RRB or UPSC applications. Only existing government employees need an NOC in some cases. Manage your preparation around your work hours and apply before the last date.