Erm, existing wonder cards/mystery gifts don't need a Nintendo Switch online subscription, but does require connection to their network.
As for giving away gifts locally (not online), TPCi has such a method (that's how they distribute gifts locally), but such a method, whether unchanged or spoofed, isn't public.
Thus, until such a method is revealed to the public, there is no way to do so.