Semi-transparent solar cells that could be added to windows to efficiently harvest energy from indoor light as well as the sun have been developed by an international team led by UCL researchers.
Sounds like what you are suggesting is a standalone solar panel mounted on a sun tracking mount above a window? Still, it would be better and cheaper to just lay a solar panel out in the yard and then install a conventional window shutter.
IMO solution is a ‘european tilt and turn’ window system with an inner window (tint or shade optional) and a solar panel shutter.
With drive motors and suntrackers for the luxury version.
Sounds like what you are suggesting is a standalone solar panel mounted on a sun tracking mount above a window? Still, it would be better and cheaper to just lay a solar panel out in the yard and then install a conventional window shutter.