Sort of, users can opt out of PMs via their user preferences – have a look under Preferences → Notifications:
Messages
Allow other users to send me personal messages
But this has to do with receiving PMs, not sending them. There is no way to disable sending PMs for a particular user. The trust level lock that @JimPas described is one workaround though. New users at trust level zero do not have the privilege to send PMs.