O-1 Visas have a restricted double plan. Your O-1 status will not be affected if you apply for a green card. But you can't go anywhere you want while you wait for a green card.