Screen layout with python scripting possible
No, currently the screen layout/geometry is read-only from Python's perspective.

(Can only be edited via interactive operators).

You can:


Change space types.
Change screens.
Change scenes.


But not resize spaces/regions.