Niagara Write to Texture or Data Structure

In the Niagara system, is there any way to write to a texture?
I want to write the position of each particle into a texture.
So the 2d grayscale texture has its intensity as the number of particles in the pixel.

Or, is there any data structure that I can use to store the particle positions?
Something like 2d or 3d array?