I think it should
It seems the reasoning for deprecating the Notification() constructor is that a site may be closed before the notification is created/sent. Therefore, it makes more sense to send it from the service worker.
Again, give it a try to see if it works! The worst that can happen is that it doesn’t work.