Hi and
to the forum.
Unfortunately it is not possible to use one of those devices with any of the available hubmotors.
It's only suitable for quick release wheels which have a hollow axle which the locking skewer can pass through completely.
Motorised hubs generally use a larger axle and larger nuts to help withstand the torque which they generate.
A quick release wheel does not transmit any torque through the axle whatsoever and all the skewer does is securely hold the axle in its correct place.
Alan