Yes, absolutely. Assuming that each transaction only contains one item from each stream, you can put the txid of the transaction that wrote the stream item into the asset details. Then use the getstreamitem API to retrieve the stream item, given this txid.