Is there a way of recording 512 rows of automation for a 16 row patter

yes, via tools

https://forum.renoise.com/t/new-tool-pattern-pone-pattern-overview-and-editing-tool/41881You’ll have to fix the position calculating code though.

realtime recording or sending audio through tcp can be done with vsts, MRecorder and ReaStream for example.