Have you tried exporting the Hot Potato as a scorm package and using the Scorm assignment activity type.
I haven't tried Moodle 4, just the cloud based service, but that's what I did when I noticed the Cloud version didn't have a specific HotPot Assignment Plug in.