Hi Richard,
welcome to NethServer Community!
I think it could be possible as NS8 Samba is customizable, see Smb.conf in ns8 - #2 by mrmarkuz and Howto manage or customize NS8 podman containers
Could you please share some links/information about the sudo schema and its implementation?
I just found group policies and older tutorials.