You may petition to have your juvenile record expunged/sealed, but law enforcement agencies will still be able to see the record.
A criminal record - particularly a juvenile record - is not necessarily an automatic bar to becoming a police officer. This varies by jurisdiction, however, so you'll need to check with the local PDs about their requirements.

