MV [Help, Window Resize] Can you assign a key to change the resolution at 50%?

I'm aiming for a high resolution in the game (no, not Xbox Juan resolutions), but still I want to give the option to those who aren't fortunate enough to own large resolution monitors.

Is there a way to assign a key in the keyboard to...? I won't ask. I'll show:

>"Hey, this game window is a bit too large. I'm pressing F7!"
>The game's resolution/scale reduces to half the size after pressing F7 key
>"Cool. And how to make it back? By pressing F7 again?"
>The game's resolution/scale is restored to the original size after pressing F7 key

I don't usually dress questions up, but hopefully this clears things up.
Resolution changes aren't that big of a deal with 3D games, but sprite-based games have a built-in resolution (literally how big you, the developer, made it). To have different resolutions, you'd have to either make spritesheets and tilesets for every new size (changing font and window size can likely be done with a plugin easily enough).

Once you've done all that, you'll just need something set up to easily change it. I believe Yanfly has a plugin for letting you assign any keyboard button to calling a common event and the common event can call a script to change everything.
I know yanfly's core plugin for MV allowed the RM dev to easily modify the resolution, but I don't know if he made that a plugin command or script call-able functionality. If he did, you could probably follow @kirbwarrior's suggestion and bind that functionality to a button via common event. If he did not... well, then its probably not the most trivial of a task.
Moved to: Plugin Requests

Original thread: https://forums.rpgmakerweb.com/threads/help-window-resize-can-you-assign-a-key-to-change-the-resolution-at-50.134262/