You can fit one shown by the red lines.
You could attach this to the side of the window framing to support one end of the roost. Run a screw up through one of the bottom holes into the roost to keep it in place.
Then hang it from a short joist hanger on the other end:
This would make...