I point a camera at the sun for long periods to take multiple exposures (goal is to watch a sunspot moving across the sun). People also use solar trackers to keep solar panels aligned with the sun.
I thought PETG has a higher elastic modulus than PLA, but I haven't really tried it. I generally size my pieces to not flex, since that introduces error in the tracker.
Also, what is the point of a solar tracker? We can all tell where the sun is...