Attachments are post types someway, when you attach images to a post/page and display them in your post, you get a link like your-post-title/attachment/filename/
.
Maybe you can create post types with hierarchical option and them filter the link to replace the attachment
to post parent name instead.