NSW has recorded the highest number of deaths under the voluntary assisted dying program as uptake increases around the country, but federal laws still prevent access for some.