Peter is officially an adult. Which means he's allowed to do whatever he wants.
That includes existing online under his real name.
Poor Tony is about to find out how his PR team feels like when they have to deal with him.
After Peter is snapped, he doesn’t simply cease to exist. Yes, he fades away like everyone else, but Peter materializes again. In a parallel universe, where he never existed.