Actually I think there is a minimum.
I've done one submission for myself and I was told to leave about 3m from the back of the house to the fence.
That said, I did one for a friend and it was almost on-top of the other house and it wasn't an issue.
Perhaps council dependant? I'm not 100% on the fine details of the legislation, I have a guy who does it for me.