Not absolutely, there are restrictions, but looking across the range of medical conditions involved, IMO they generally don't go far enough.
I'm not suggesting this applies to T1 though. In that area the restrictions seem similar to the UK and are probably ok:
https://www.nzta.govt.nz/driver-lic...ce/medical-requirements/diabetes-and-driving/
I guess the transport authorities are more familiar with the ins and outs of T1 than they are with sleep apnoea. The latter has only really been treatable since the late 80s, and the number of people getting it has exploded with increasing obesity rates. It's still a relatively little known or understood condition.