Absolutely, that would be really useful (at least for me!)
Yesterday I was thinking about a new action: a "smart window resizer."
I’ve posted it as a feature request.