Is a 240mm AIO enough for a 9800X3D?

Hello all,

I am wondering if anyone has any idea if a 240mm AIO will be enough to cool a 9800X3D? I am planning on using a NZXT H5 Flow and was wondering if I could get away with mounting one at the top so I don't have to worry about height issues with my ram.

Thanks for reading!