A mid-drive relies on the chain , sprocket and rear cassette to propel the bike forward. Just like a human pedaled bikes does. A rear hub motor does not use the bicycles front sprocket , chain or rear cassette to propel the bike forward.
You could remove the cranks , pedals , front sprocket...