Design Preview: Custom Profile Attributes

Would this be accessible/editable through the api?
Say I have a plugin that matches a profile against a 3rd party database and add some custom property values that the same plugin can retrieve later to check if the user has a certain property value to say restrict direct messaging?