theoretically you would have to ship sudo inside your snap …
… but practically that can not work since snapcraft will automatically strip the suid bit from all suid binaries included in a snap which in turn renders the shipped sudo useless (beyond the fact that your snap has no access to /etc/sudoers or /etc/sudoers.d of the system) …
also note that sudo in a graphical app will stop working completely as soon as distros default to wayland (wayland does not allow sudo’ed binaries to be displayed by design) …
one option might be to ship yad
in your snap and have it display a dialog box when clicking the .desktop file entry, that tells the user about using the terminal and sudo instead … (and then fall back to some degraded operation if the user does still want to use it via the launcher).