You can use a YouTube to iMovie converter like VideoProc Converter. Use its built-in downloader to save the video with your desired quality. After saving the video on your device, open iMovie, create a new project and import the downloaded video for editing.