Should I write potential PhD advisors outside of the application process?

Some faculty are annoyed by this (primarily because of the number of students who write during application season), and some encourage it. See if you can find their faculty website; some faculty provide guidance on whether to write.

The key principle is to not be annoying. Contact faculty only if it adds information—and consider if there is a place for that information in your application instead.