I don't know offhand whether a duck would really put up with that kind of thing, but it sure is cute.
It depends on whether or not this duck in particular has been around Miku for a prolonged period of time. They're pretty social, but they don't just warm up to strangers.