You can totally do that! See the section on Format Selection[0].
From my reading of it, doing this would work for what you want:
-f 'bv*[height<=720]+ba/b[height<=720]'
[0] https://github.com/yt-dlp/yt-dlp#format-selection