You can use "cat whiskers" to help seal the window and stop rattles. That's what I used on mine.

If you've the patience, and the measurements, I'm sure you can come up with some type of seal. If...