Is there a way to fix the height of a certain window like it is possible with *compilation* buffers using compilation-window-height?
There is window-size-fixed buffer-local variable. If you set its value to height or t, that window gets fixed height.
height
t
E.g.
M-x set-variable window-size-fixed height