Adding drivers to render properties

I’ve got an idea to will drastically improve my workflow for a project but I seem to be stuck on something: I can’t find a way to add a driver to the render size!

Is there any way I can use drivers to adjust the render size?