Can't say, cos I've no idea of the layout on your boat.
Vert or horiz windlass, fall of chain into locker, etc ??
You don't necessarily need a pipe, an adequate hole may do, but the fall below it is crucial and it needs to be big enough for the chain-rope splice to run easily through it.