Yeah I use a third-party add on for macOS that does something similar.

The only annoyance is situations where you are moving the mouse while also starting to press a ctrl+ or cmd+ key combination and unexpectedly move or resize the window in the process.