Its possible to create trust policy document with serverless?

This is now possible with custom resources: https://gist.github.com/sdomagala/a647a69f0dd87af545d7c45dfc7b0114