It probably would work.
However I think a smaller soakpit (in length) with four or five short channels leading into it would be better and probably less work. Gentle slope leading into the pit. You would not even require the pipe for the channels. Just dig down a foot or so (width of a shovel). Line with landscape fabric. Fill 2/3 with stone. Wrap around landscape fabric. Fill with good soil to level with garden.