Yes, you can do both. You can specify your item transformation to apply just for specific page types and you can also check in the transformation if the that listed page has any pages of some type:
{%Documents[NodeAliasPath].Children.Where("ClassName='custom.pagetype'").Count|(identity)GlobalAdministrator%}