yes that would work.
would be better to extract at the highest point possible
or use ducting with the fan on the wall below the window you can get super slim ducting channel 225mm x 25mm you could place this behind plasterboard on the ceiling running down to the wall or as i`ve used it before...