Can be done on windows by making a shortcut for a program and adding something like " -screen-width 1920 -screen-height 1080 -screen-fullscreen 1" to target in properties, looking for way to force something like this on macos
tried apple script from here, Set size of window to exact pixels, and place via x, y coordinates only seems to work on apps that can already be resized