Digging up fossils will not get you Deoxys — fossils produce Pokémon like Kabuto, Omanyte, and Aerodactyl. Deoxys is an event creature tied to Birth Island, a small island that only appears when you carry the Aurora Ticket.
In Pokémon Emerald, and in FireRed and LeafGreen, that ticket sends you to the island, where a lone triangular rock waits. Interact with it and Deoxys descends to battle.
The Aurora Ticket was distributed through official Nintendo events, so if you never received one, your legitimate options are waiting for a reissue event or trading with another player. There is no in-game substitute.