A similar topic was discussed last year:
But now that "SE-0271: Package Manager Resources" has been accepted, it might be better to think of .embed as another package rule (alongside the existing .copy and .process rules) to be applied to a file or directory path.
.embed
.copy
.process
"Type-safe access to individual resource files" would then include support for embedded data.