Yes, it’s ok to leave jobs off your resume, permitting it doesn’t leave a noticeable gap in your recent employment history. It’s generally acceptable not to include jobs that are irrelevant to the role you’re applying for, were short-lived or date back further than 10-15 years.