If you can open a window at all you can run a portable AC unit. Even just 3-4 inches is enough.
Opening sideways also shouldn't matter for a casement AC unit.
[0] obligatory TC rant: https://youtu.be/_-mBeYC2KGc
Hell, people are dying now in Europe in part because US AC abuse burned so much energy it contributed in a large part to global warming.