Hi Hans, yes you can .
Poke and Peek are your friends ! you can write and read the data object inside gen~ with a counter.
That’s how my plugin MIRRORZ plays backward works
Check out this tuto
Tutorial: gen~ for Beginners, Part 4: Working with buffers (and data) | Cycling '74
All the best