You can put bifolds anywhere mate. It’s how you buy out any structural problems installing them.
Most go along a gable end because it requires just 1 support steel and 2 standard pad supports.
You can layer supporting RSJ’s but it obviously requires stronger pillars and bigger steels.
Going along there will be fine. But it’ll need a steel above and potentially a bigger pad support by the looks of the photo.