It should work.
I think this post should help you regarding the setup of a vertex buffer that can be updated by a compute shader: