Yes, it is okay to keep insects as pets. Many people enjoy keeping insects such as beetles, stick insects, and praying mantises as pets. Just make sure to research the specific care requirements for the insect you are interested in keeping to ensure they are kept in a suitable environment.