Access nested custom data types from plugin?

In short, yes this can be done.
See this post which is for Server Side but the same applies Client Side.

If you know which nested fields you want then you pass as a parameter in .get(field_name_here), or if you don’t know the field name then you can retrieve all fields nested within an object via .listProperties() and then sort through the resultant array.